diff options
-rw-r--r-- | arch/sh/lib/Makefile | 3 | ||||
-rw-r--r-- | arch/sh/lib/clear_page.S (renamed from arch/sh/mm/clear_page.S) | 0 | ||||
-rw-r--r-- | arch/sh/lib/copy_page.S (renamed from arch/sh/mm/copy_page.S) | 0 | ||||
-rw-r--r-- | arch/sh/lib64/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/lib64/clear_page.S (renamed from arch/sh/lib64/page_clear.S) | 0 | ||||
-rw-r--r-- | arch/sh/lib64/copy_page.S (renamed from arch/sh/lib64/page_copy.S) | 0 | ||||
-rw-r--r-- | arch/sh/mm/Makefile_32 | 3 |
7 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index 6f7ac9eeb54f..ebb55d1149f5 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile | |||
@@ -8,6 +8,7 @@ lib-y = delay.o io.o memset.o memmove.o memchr.o \ | |||
8 | memcpy-y := memcpy.o | 8 | memcpy-y := memcpy.o |
9 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o | 9 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o |
10 | 10 | ||
11 | lib-y += $(memcpy-y) | 11 | lib-$(CONFIG_MMU) += copy_page.o clear_page.o |
12 | lib-y += $(memcpy-y) | ||
12 | 13 | ||
13 | EXTRA_CFLAGS += -Werror | 14 | EXTRA_CFLAGS += -Werror |
diff --git a/arch/sh/mm/clear_page.S b/arch/sh/lib/clear_page.S index 7a7c81ee3f01..7a7c81ee3f01 100644 --- a/arch/sh/mm/clear_page.S +++ b/arch/sh/lib/clear_page.S | |||
diff --git a/arch/sh/mm/copy_page.S b/arch/sh/lib/copy_page.S index b879545fa28b..b879545fa28b 100644 --- a/arch/sh/mm/copy_page.S +++ b/arch/sh/lib/copy_page.S | |||
diff --git a/arch/sh/lib64/Makefile b/arch/sh/lib64/Makefile index 2f4086ac6f99..9950966923a0 100644 --- a/arch/sh/lib64/Makefile +++ b/arch/sh/lib64/Makefile | |||
@@ -11,5 +11,5 @@ | |||
11 | 11 | ||
12 | # Panic should really be compiled as PIC | 12 | # Panic should really be compiled as PIC |
13 | lib-y := udelay.o c-checksum.o dbg.o panic.o memcpy.o copy_user_memcpy.o \ | 13 | lib-y := udelay.o c-checksum.o dbg.o panic.o memcpy.o copy_user_memcpy.o \ |
14 | page_copy.o page_clear.o | 14 | copy_page.o clear_page.o |
15 | 15 | ||
diff --git a/arch/sh/lib64/page_clear.S b/arch/sh/lib64/clear_page.S index 007ab48ecc1c..007ab48ecc1c 100644 --- a/arch/sh/lib64/page_clear.S +++ b/arch/sh/lib64/clear_page.S | |||
diff --git a/arch/sh/lib64/page_copy.S b/arch/sh/lib64/copy_page.S index 0ec6fca63b56..0ec6fca63b56 100644 --- a/arch/sh/lib64/page_copy.S +++ b/arch/sh/lib64/copy_page.S | |||
diff --git a/arch/sh/mm/Makefile_32 b/arch/sh/mm/Makefile_32 index 095abd14592f..e295db60b91b 100644 --- a/arch/sh/mm/Makefile_32 +++ b/arch/sh/mm/Makefile_32 | |||
@@ -12,8 +12,7 @@ obj-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o | |||
12 | endif | 12 | endif |
13 | 13 | ||
14 | mmu-y := tlb-nommu.o pg-nommu.o | 14 | mmu-y := tlb-nommu.o pg-nommu.o |
15 | mmu-$(CONFIG_MMU) := fault_32.o clear_page.o copy_page.o tlbflush_32.o \ | 15 | mmu-$(CONFIG_MMU) := fault_32.o tlbflush_32.o ioremap_32.o |
16 | ioremap_32.o | ||
17 | 16 | ||
18 | obj-y += $(mmu-y) | 17 | obj-y += $(mmu-y) |
19 | 18 | ||