Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 092c1952 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarHyok S. Choi <hyok.choi@samsung.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 888e7bf1
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -2,11 +2,11 @@
# Makefile for the linux arm-specific parts of the memory manager.
# Makefile for the linux arm-specific parts of the memory manager.
#
#


obj-y				:= consistent.o extable.o fault-armv.o \
obj-y				:= consistent.o extable.o fault.o init.o \
				   fault.o init.o iomap.o mmap.o \
				   iomap.o
				   mm-armv.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)
ifneq ($(CONFIG_MMU),y)
obj-y				+= nommu.o
obj-y				+= nommu.o
+4 −0
Original line number Original line Diff line number Diff line
@@ -26,4 +26,8 @@ struct map_desc {
#define MT_IXP2000_DEVICE	7
#define MT_IXP2000_DEVICE	7
#define MT_NONSHARED_DEVICE	8
#define MT_NONSHARED_DEVICE	8


#ifdef CONFIG_MMU
extern void iotable_init(struct map_desc *, int);
extern void iotable_init(struct map_desc *, int);
#else
#define iotable_init(map,num)	do { } while (0)
#endif