aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/lib/Makefile
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-02-03 21:58:39 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-02-16 09:43:16 +1000
commit982cd252ca0b63c11fe398c09c6f2b41217c78c0 (patch)
treefac6b90f443fdb1654c58ae86b1921f3e2a33aa3 /arch/m68knommu/lib/Makefile
parentf9d693d237a173915fcfbd86b28753f93b7d142f (diff)
downloadkernel_samsung_espresso10-982cd252ca0b63c11fe398c09c6f2b41217c78c0.zip
kernel_samsung_espresso10-982cd252ca0b63c11fe398c09c6f2b41217c78c0.tar.gz
kernel_samsung_espresso10-982cd252ca0b63c11fe398c09c6f2b41217c78c0.tar.bz2
m68knommu: add optimize memmove() function
Add an m68k/coldfire optimized memmove() function for the m68knommu arch. This is the same function as used by m68k. Simple speed tests show this is faster once buffers are larger than 4 bytes, and significantly faster on much larger buffers (4 times faster above about 100 bytes). This also goes part of the way to fixing a regression caused by commit ea61bc461d09e8d331a307916530aaae808c72a2 ("m68k/m68knommu: merge MMU and non-MMU string.h"), which breaks non-coldfire non-mmu builds (which is the 68x328 and 68360 families). They currently have no memmove() fucntion defined, since there was none in the m68knommu/lib functions. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/lib/Makefile')
-rw-r--r--arch/m68knommu/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68knommu/lib/Makefile b/arch/m68knommu/lib/Makefile
index d94d709..32d852e 100644
--- a/arch/m68knommu/lib/Makefile
+++ b/arch/m68knommu/lib/Makefile
@@ -4,4 +4,4 @@
lib-y := ashldi3.o ashrdi3.o lshrdi3.o \
muldi3.o mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \
- checksum.o memcpy.o memset.o delay.o
+ checksum.o memcpy.o memmove.o memset.o delay.o