]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc64: fix modpost failure
authorSam Ravnborg <sam@ravnborg.org>
Sun, 18 Jan 2009 07:12:27 +0000 (23:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2009 07:12:27 +0000 (23:12 -0800)
commit62dfcd336c79c49f9aeb0acc99cf9a1832102dd5
tree18d33271218eac0daec3dd105ebefd3b0654a19f
parentc275ce44929402664902cbb09d4f054b315623d7
sparc64: fix modpost failure

Previously PeeCeeI.o was a library but it
was always pulled in due to insw and friends being exported
(at least for a modular kernel).

But this resulted in modpost failures if there where no in-kernel
users because then insw & friends were not linked in.

Fix this by including PeeCeeI.o in the kernel unconditionally.

The only drawback for this solution is that a nonmodular kernel
will always include insw & friends no matter if they are in use or not.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/Makefile