Skip to content

Commit

Permalink
sh64: Kill off special clear_page() implementation.
Browse files Browse the repository at this point in the history
This can use the now generic clear_page() implementation, which is backed
by the sh64 optimized memset routine. This also fixes up the case where
PAGE_SIZE != 4kB.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Aug 4, 2009
1 parent c791483 commit d14d751
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 56 deletions.
1 change: 0 additions & 1 deletion arch/sh/kernel/sh_ksyms_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ EXPORT_SYMBOL(__get_user_asm_l);
EXPORT_SYMBOL(__get_user_asm_q);
EXPORT_SYMBOL(__strnlen_user);
EXPORT_SYMBOL(__strncpy_from_user);
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(__clear_user);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(__copy_user);
Expand Down
2 changes: 1 addition & 1 deletion arch/sh/lib64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Panic should really be compiled as PIC
lib-y := udelay.o dbg.o panic.o memcpy.o memset.o \
copy_user_memcpy.o copy_page.o clear_page.o strcpy.o strlen.o
copy_user_memcpy.o copy_page.o strcpy.o strlen.o

# Extracted from libgcc
lib-y += udivsi3.o udivdi3.o sdivsi3.o
54 changes: 0 additions & 54 deletions arch/sh/lib64/clear_page.S

This file was deleted.

0 comments on commit d14d751

Please sign in to comment.