summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-06-18 01:30:53 +0300
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:28 +0900
commite3b08600902e119b34ca03c4aaf99bde4b173dde (patch)
tree24080adf9617d81e02f426a72913de8cff58738d /arch/sh/lib
parent7223ce29e8ca7313a75e8b902718c867d5997bb7 (diff)
downloadlinux-e3b08600902e119b34ca03c4aaf99bde4b173dde.tar.gz
linux-e3b08600902e119b34ca03c4aaf99bde4b173dde.tar.bz2
linux-e3b08600902e119b34ca03c4aaf99bde4b173dde.zip
move arch/sh/lib/io.o to obj-y
EXPORT_SYMBOL's in lib-y considered harmful: <-- snip --> ... MODPOST 1837 modules ERROR: "__raw_readsl" [drivers/ssb/ssb.ko] undefined! ERROR: "__raw_writesl" [drivers/ssb/ssb.ko] undefined! ERROR: "__raw_writesl" [drivers/net/smc91x.ko] undefined! ERROR: "__raw_readsl" [drivers/net/smc91x.ko] undefined! ERROR: "__raw_writesl" [drivers/net/3c59x.ko] undefined! ERROR: "__raw_readsl" [drivers/net/3c59x.ko] undefined! ... make[2]: *** [__modpost] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib')
-rw-r--r--arch/sh/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile
index ebb55d1149f5..8596cc78e18d 100644
--- a/arch/sh/lib/Makefile
+++ b/arch/sh/lib/Makefile
@@ -2,9 +2,11 @@
# Makefile for SuperH-specific library files..
#
-lib-y = delay.o io.o memset.o memmove.o memchr.o \
+lib-y = delay.o memset.o memmove.o memchr.o \
checksum.o strlen.o div64.o div64-generic.o
+obj-y += io.o
+
memcpy-y := memcpy.o
memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o