move arch/sh/lib/io.o to obj-y

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, July 28, 2008 - 10:06 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e3b086...
Commit:     e3b08600902e119b34ca03c4aaf99bde4b173dde
Parent:     7223ce29e8ca7313a75e8b902718c867d5997bb7
Author:     Adrian Bunk <bunk@kernel.org>
AuthorDate: Wed Jun 18 01:30:53 2008 +0300
Committer:  Paul Mundt <lethal@linux-sh.org>
CommitDate: Mon Jul 28 18:10:28 2008 +0900

    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>
---
 arch/sh/lib/Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile
index ebb55d1..8596cc7 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
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
move arch/sh/lib/io.o to obj-y, Linux Kernel Mailing ..., (Mon Jul 28, 10:06 am)