diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-24 12:34:50 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-28 12:59:52 -0400 |
commit | 092c1952e18fec06f3a951113fe1d87492d6e840 (patch) | |
tree | 0ea1447154c822ec3bb5c75138209d306275846b /include | |
parent | 888e7bf166a0059480da137f3bd28dcd51175f3d (diff) |
[ARM] nommu: remove fault-armv, mmap and mm-armv files from nommu build
Remove fault-armv.o, mmap.o and mm-armv.o from uclinux builds - these
are concerned with MMU-ful operations, and as such are redundant for
uclinux.
Since this also removes iotable_init() and iotable_init() is used
extensively in the platform support files, just make it a no-op.
Based upon a couple of patches by Hyok.
Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/mach/map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h index c3929fc74afd..cef5364ed5fe 100644 --- a/include/asm-arm/mach/map.h +++ b/include/asm-arm/mach/map.h | |||
@@ -26,4 +26,8 @@ struct map_desc { | |||
26 | #define MT_IXP2000_DEVICE 7 | 26 | #define MT_IXP2000_DEVICE 7 |
27 | #define MT_NONSHARED_DEVICE 8 | 27 | #define MT_NONSHARED_DEVICE 8 |
28 | 28 | ||
29 | #ifdef CONFIG_MMU | ||
29 | extern void iotable_init(struct map_desc *, int); | 30 | extern void iotable_init(struct map_desc *, int); |
31 | #else | ||
32 | #define iotable_init(map,num) do { } while (0) | ||
33 | #endif | ||