diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-30 08:53:54 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-30 08:53:54 -0500 |
commit | 3ff1559eae70d5fb542eaa087389223dce4e364f (patch) | |
tree | 65762e5f8faf3efc4771cedcfd9ae9b4c2ec958c /arch/arm/mm/nommu.c | |
parent | 5cd372e170f1827164e3bd267dff80962ded49d6 (diff) |
[ARM] Fix nommu build
Fix warnings and errors in arch/arm/mm for nommu build.
Remove commented out function prototype in pgtable-nommu.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/nommu.c')
-rw-r--r-- | arch/arm/mm/nommu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index d0e66424a597..05818fc0c705 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c | |||
@@ -6,10 +6,12 @@ | |||
6 | #include <linux/module.h> | 6 | #include <linux/module.h> |
7 | #include <linux/mm.h> | 7 | #include <linux/mm.h> |
8 | #include <linux/pagemap.h> | 8 | #include <linux/pagemap.h> |
9 | #include <linux/bootmem.h> | ||
9 | 10 | ||
10 | #include <asm/cacheflush.h> | 11 | #include <asm/cacheflush.h> |
11 | #include <asm/io.h> | 12 | #include <asm/io.h> |
12 | #include <asm/page.h> | 13 | #include <asm/page.h> |
14 | #include <asm/mach/arch.h> | ||
13 | 15 | ||
14 | #include "mm.h" | 16 | #include "mm.h" |
15 | 17 | ||
@@ -76,7 +78,7 @@ void __iomem *__ioremap(unsigned long phys_addr, size_t size, | |||
76 | } | 78 | } |
77 | EXPORT_SYMBOL(__ioremap); | 79 | EXPORT_SYMBOL(__ioremap); |
78 | 80 | ||
79 | void __iounmap(void __iomem *addr) | 81 | void __iounmap(volatile void __iomem *addr) |
80 | { | 82 | { |
81 | } | 83 | } |
82 | EXPORT_SYMBOL(__iounmap); | 84 | EXPORT_SYMBOL(__iounmap); |