sh: clear/copy_page renames in lib and lib64.
Paul Mundt [Wed, 21 Nov 2007 13:46:14 +0000 (22:46 +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 6f7ac9e..ebb55d1 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 2f4086a..9950966 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 095abd1..e295db6 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)