diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-22 10:05:36 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-28 12:59:48 -0400 |
commit | 5924486dc0f205ebc2bbf4c262eec902ff38e802 (patch) | |
tree | acde32ec730762ed2d0a742990cfe2dc7f6e5cf0 /arch/arm/mm/Makefile | |
parent | f9c21a6ee7e040be0f623a6b8dcfb5ec4f7532f5 (diff) |
[ARM] nommu: add stubs for ioremap and friends
nommu doesn't have any form of remapping support, so ioremap, etc
become stubs which just return the casted address, doing nothing
else.
Move ioport_map(), ioport_unmap(), pci_iomap(), pci_iounmap()
into a separate file which is always built.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/Makefile')
-rw-r--r-- | arch/arm/mm/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index 07a538505784..07891c83e52c 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile | |||
@@ -3,9 +3,15 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := consistent.o extable.o fault-armv.o \ | 5 | obj-y := consistent.o extable.o fault-armv.o \ |
6 | fault.o flush.o init.o ioremap.o mmap.o \ | 6 | fault.o flush.o init.o iomap.o mmap.o \ |
7 | mm-armv.o | 7 | mm-armv.o |
8 | 8 | ||
9 | obj-$(CONFIG_MMU) += ioremap.o | ||
10 | |||
11 | ifneq ($(CONFIG_MMU),y) | ||
12 | obj-y += nommu.o | ||
13 | endif | ||
14 | |||
9 | obj-$(CONFIG_MODULES) += proc-syms.o | 15 | obj-$(CONFIG_MODULES) += proc-syms.o |
10 | 16 | ||
11 | obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o | 17 | obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o |