[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>
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile
index ddce038..21a2770 100644
--- a/arch/arm/mm/Makefile
+++ b/arch/arm/mm/Makefile
@@ -2,11 +2,11 @@
# Makefile for the linux arm-specific parts of the memory manager.
#
-obj-y := consistent.o extable.o fault-armv.o \
- fault.o init.o iomap.o mmap.o \
- mm-armv.o
+obj-y := consistent.o extable.o fault.o init.o \
+ iomap.o
-obj-$(CONFIG_MMU) += flush.o ioremap.o
+obj-$(CONFIG_MMU) += fault-armv.o flush.o ioremap.o mmap.o \
+ mm-armv.o
ifneq ($(CONFIG_MMU),y)
obj-y += nommu.o