Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ecc14e8c
Commit
ecc14e8c
authored
Feb 12, 2008
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Symbol exports for trapped I/O.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
96f2fc00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
arch/sh/kernel/io_trapped.c
arch/sh/kernel/io_trapped.c
+5
-0
No files found.
arch/sh/kernel/io_trapped.c
View file @
ecc14e8c
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/bitops.h>
#include <linux/bitops.h>
#include <linux/vmalloc.h>
#include <linux/vmalloc.h>
#include <linux/module.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/mmu_context.h>
#include <asm/mmu_context.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
...
@@ -23,9 +24,11 @@
...
@@ -23,9 +24,11 @@
#ifdef CONFIG_HAS_IOPORT
#ifdef CONFIG_HAS_IOPORT
LIST_HEAD
(
trapped_io
);
LIST_HEAD
(
trapped_io
);
EXPORT_SYMBOL_GPL
(
trapped_io
);
#endif
#endif
#ifdef CONFIG_HAS_IOMEM
#ifdef CONFIG_HAS_IOMEM
LIST_HEAD
(
trapped_mem
);
LIST_HEAD
(
trapped_mem
);
EXPORT_SYMBOL_GPL
(
trapped_mem
);
#endif
#endif
static
DEFINE_SPINLOCK
(
trapped_lock
);
static
DEFINE_SPINLOCK
(
trapped_lock
);
...
@@ -86,6 +89,7 @@ int __init register_trapped_io(struct trapped_io *tiop)
...
@@ -86,6 +89,7 @@ int __init register_trapped_io(struct trapped_io *tiop)
pr_warning
(
"unable to install trapped io filter
\n
"
);
pr_warning
(
"unable to install trapped io filter
\n
"
);
return
-
1
;
return
-
1
;
}
}
EXPORT_SYMBOL_GPL
(
register_trapped_io
);
void
__iomem
*
match_trapped_io_handler
(
struct
list_head
*
list
,
void
__iomem
*
match_trapped_io_handler
(
struct
list_head
*
list
,
unsigned
long
offset
,
unsigned
long
offset
,
...
@@ -113,6 +117,7 @@ void __iomem *match_trapped_io_handler(struct list_head *list,
...
@@ -113,6 +117,7 @@ void __iomem *match_trapped_io_handler(struct list_head *list,
spin_unlock_irq
(
&
trapped_lock
);
spin_unlock_irq
(
&
trapped_lock
);
return
NULL
;
return
NULL
;
}
}
EXPORT_SYMBOL_GPL
(
match_trapped_io_handler
);
static
struct
trapped_io
*
lookup_tiop
(
unsigned
long
address
)
static
struct
trapped_io
*
lookup_tiop
(
unsigned
long
address
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment