sh: clear/copy_page renames in lib and lib64.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 21 Nov 2007 13:46:14 +0000 (22:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:54 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/lib/Makefile
arch/sh/lib/clear_page.S [moved from arch/sh/mm/clear_page.S with 100% similarity]
arch/sh/lib/copy_page.S [moved from arch/sh/mm/copy_page.S with 100% similarity]
arch/sh/lib64/Makefile
arch/sh/lib64/clear_page.S [moved from arch/sh/lib64/page_clear.S with 100% similarity]
arch/sh/lib64/copy_page.S [moved from arch/sh/lib64/page_copy.S with 100% similarity]
arch/sh/mm/Makefile_32

index 6f7ac9eeb54fe46f634c6868315ae475d2897525..ebb55d1149f55ab3ea44c79e2704dc1ac2ea0cb5 100644 (file)
@@ -8,6 +8,7 @@ lib-y  = delay.o io.o memset.o memmove.o memchr.o \
 memcpy-y                       := memcpy.o
 memcpy-$(CONFIG_CPU_SH4)       := memcpy-sh4.o
 
-lib-y  += $(memcpy-y)
+lib-$(CONFIG_MMU)              += copy_page.o clear_page.o
+lib-y                          += $(memcpy-y)
 
 EXTRA_CFLAGS += -Werror
index 2f4086ac6f99dd760cc06d5f85eb6dea4e5a5fe1..9950966923a01aa2ec01a782d85fad6bfcf04929 100644 (file)
@@ -11,5 +11,5 @@
 
 # Panic should really be compiled as PIC
 lib-y  := udelay.o c-checksum.o dbg.o panic.o memcpy.o copy_user_memcpy.o \
-               page_copy.o page_clear.o
+               copy_page.o clear_page.o
 
index 095abd14592fd0030b1c8355d9844a275e178fed..e295db60b91bd2597b28b260e4a8263e42fcb3c7 100644 (file)
@@ -12,8 +12,7 @@ obj-$(CONFIG_SH7705_CACHE_32KB)       += cache-sh7705.o
 endif
 
 mmu-y                  := tlb-nommu.o pg-nommu.o
-mmu-$(CONFIG_MMU)      := fault_32.o clear_page.o copy_page.o tlbflush_32.o \
-                          ioremap_32.o
+mmu-$(CONFIG_MMU)      := fault_32.o tlbflush_32.o ioremap_32.o
 
 obj-y                  += $(mmu-y)