diff options
Diffstat (limited to 'arch/m68k/mm/sun3kmap.c')
-rw-r--r-- | arch/m68k/mm/sun3kmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/mm/sun3kmap.c b/arch/m68k/mm/sun3kmap.c index 8caa45908cb1..1af24cb5bfe1 100644 --- a/arch/m68k/mm/sun3kmap.c +++ b/arch/m68k/mm/sun3kmap.c | |||
@@ -8,6 +8,7 @@ | |||
8 | * for more details. | 8 | * for more details. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/module.h> | ||
11 | #include <linux/types.h> | 12 | #include <linux/types.h> |
12 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
13 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
@@ -112,11 +113,13 @@ void __iomem *__ioremap(unsigned long phys, unsigned long size, int cache) | |||
112 | return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO); | 113 | return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO); |
113 | 114 | ||
114 | } | 115 | } |
116 | EXPORT_SYMBOL(__ioremap); | ||
115 | 117 | ||
116 | void iounmap(void __iomem *addr) | 118 | void iounmap(void __iomem *addr) |
117 | { | 119 | { |
118 | vfree((void *)(PAGE_MASK & (unsigned long)addr)); | 120 | vfree((void *)(PAGE_MASK & (unsigned long)addr)); |
119 | } | 121 | } |
122 | EXPORT_SYMBOL(iounmap); | ||
120 | 123 | ||
121 | /* sun3_map_test(addr, val) -- Reads a byte from addr, storing to val, | 124 | /* sun3_map_test(addr, val) -- Reads a byte from addr, storing to val, |
122 | * trapping the potential read fault. Returns 0 if the access faulted, | 125 | * trapping the potential read fault. Returns 0 if the access faulted, |