aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-02-12 16:02:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-02-14 14:22:10 +0900
commitecc14e8cf7f7865b8b7a9e1796c0b18cbb477d2f (patch)
treee08f3698527ca223883a8e49b02548823141cec3 /arch/sh/kernel
parent96f2fc006c281cbd5702a409c57d1f1549cde1fe (diff)
sh: Symbol exports for trapped I/O.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/io_trapped.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c
index 227547bae54..86a665d9220 100644
--- a/arch/sh/kernel/io_trapped.c
+++ b/arch/sh/kernel/io_trapped.c
@@ -13,6 +13,7 @@
#include <linux/mm.h>
#include <linux/bitops.h>
#include <linux/vmalloc.h>
+#include <linux/module.h>
#include <asm/system.h>
#include <asm/mmu_context.h>
#include <asm/uaccess.h>
@@ -23,9 +24,11 @@
#ifdef CONFIG_HAS_IOPORT
LIST_HEAD(trapped_io);
+EXPORT_SYMBOL_GPL(trapped_io);
#endif
#ifdef CONFIG_HAS_IOMEM
LIST_HEAD(trapped_mem);
+EXPORT_SYMBOL_GPL(trapped_mem);
#endif
static DEFINE_SPINLOCK(trapped_lock);
@@ -86,6 +89,7 @@ int __init register_trapped_io(struct trapped_io *tiop)
pr_warning("unable to install trapped io filter\n");
return -1;
}
+EXPORT_SYMBOL_GPL(register_trapped_io);
void __iomem *match_trapped_io_handler(struct list_head *list,
unsigned long offset,
@@ -113,6 +117,7 @@ void __iomem *match_trapped_io_handler(struct list_head *list,
spin_unlock_irq(&trapped_lock);
return NULL;
}
+EXPORT_SYMBOL_GPL(match_trapped_io_handler);
static struct trapped_io *lookup_tiop(unsigned long address)
{