diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-08-01 16:26:21 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-08-01 16:26:21 +0900 |
commit | 56c74c733cdd101832c4bbf9af8a009a9eaec784 (patch) | |
tree | 4eb53d7207091f023e2b7316f558776f991e9727 /arch/sh/mm | |
parent | c71799433aa4d6378502f781a155321e77da73aa (diff) | |
download | op-kernel-dev-56c74c733cdd101832c4bbf9af8a009a9eaec784.zip op-kernel-dev-56c74c733cdd101832c4bbf9af8a009a9eaec784.tar.gz |
sh: Don't include fault-nommu on SH-2/SH-2A.
fault-nommu defines the page fault handler stubs for SH-3/4 parts,
but is not needed on SH-2/SH-2A now that the entry code has been
logically separated.
Add it in for SH-3 and SH-4 explicitly.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index d677d7f..4061e89 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile @@ -8,7 +8,9 @@ obj-$(CONFIG_CPU_SH2) += cache-sh2.o obj-$(CONFIG_CPU_SH3) += cache-sh3.o obj-$(CONFIG_CPU_SH4) += cache-sh4.o -mmu-y := fault-nommu.o tlb-nommu.o pg-nommu.o +mmu-y := tlb-nommu.o pg-nommu.o +mmu-$(CONFIG_CPU_SH3) += fault-nommu.o +mmu-$(CONFIG_CPU_SH4) += fault-nommu.o mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \ ioremap.o |