aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-03-28 16:53:37 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-05-24 10:03:49 +1000
commit66d83ab32aec5d84d707d4d72717b9468ec33a96 (patch)
tree09a7748e0980fd99b6925a92ad5af53c87638a53 /arch/m68k/lib/Makefile
parentm68k: remove duplicate memset() implementation (diff)
downloadlinux-dev-66d83ab32aec5d84d707d4d72717b9468ec33a96.tar.xz
linux-dev-66d83ab32aec5d84d707d4d72717b9468ec33a96.zip
m68k: remove duplicate memcpy() implementation
Merging the mmu and non-mmu directories we ended up with duplicate implementations of memcpy(). One is a little more optimized for the >= 68020 case, but that can easily be inserted into a single implementation of memcpy(). Clean up the exporting of this symbol too, otherwise we end up exporting it twice on a no-mmu build. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/lib/Makefile')
-rw-r--r--arch/m68k/lib/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile
index ac275d5e9e3c..2438d02ebf43 100644
--- a/arch/m68k/lib/Makefile
+++ b/arch/m68k/lib/Makefile
@@ -4,12 +4,11 @@
#
lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
- memset.o memmove.o checksum.o
+ memcpy.o memset.o memmove.o checksum.o
ifdef CONFIG_MMU
lib-y += string.o uaccess.o
else
-lib-y += mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \
- memcpy.o delay.o
+lib-y += mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o delay.o
endif