[SPARC64]: Fix section-mismatch errors in solaris emul module.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 25 Sep 2006 21:00:45 +0000 (14:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 25 Sep 2006 23:39:55 +0000 (16:39 -0700)
commita4c0291aa942dceddabe23bf2b74addb958d0964
tree09aa49ecb42475203b7c64a9f0cbc9e2700367c6
parenta6d967a485c67ec8a1276261f39d81ace6a3e308
[SPARC64]: Fix section-mismatch errors in solaris emul module.

init_socksys() was marked __init but invoked from a
non-__init function.

Use the correct module_{init,exit}() faciltiies while we're
here and eliminate some seriously bogus ifdefs.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/solaris/misc.c
arch/sparc64/solaris/socksys.c