Skip to content

Commit

Permalink
[PATCH] m68k: cleanup inline mem functions
Browse files Browse the repository at this point in the history
Use the builtin functions for memset/memclr/memcpy, special optimizations for
page operations have dedicated functions now.  Uninline memmove/memchr and
move all functions into a single file and clean it up a little.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Sep 5, 2005
1 parent 2855b97 commit 072dffd
Show file tree
Hide file tree
Showing 7 changed files with 245 additions and 555 deletions.
4 changes: 0 additions & 4 deletions arch/m68k/kernel/m68k_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ EXPORT_SYMBOL(vme_brdtype);
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__lshrdi3);
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memcmp);
EXPORT_SYMBOL(memscan);
EXPORT_SYMBOL(__muldi3);

EXPORT_SYMBOL(__down_failed);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
EXTRA_AFLAGS := -traditional

lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
checksum.o memcmp.o memcpy.o memset.o semaphore.o
checksum.o string.o semaphore.o
11 changes: 0 additions & 11 deletions arch/m68k/lib/memcmp.c

This file was deleted.

75 changes: 0 additions & 75 deletions arch/m68k/lib/memcpy.c

This file was deleted.

68 changes: 0 additions & 68 deletions arch/m68k/lib/memset.c

This file was deleted.

Loading

0 comments on commit 072dffd

Please sign in to comment.