module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=y
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Dec 2009 22:28:32 +0000 (16:28 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Dec 2009 05:58:34 +0000 (16:28 +1030)
commitd4703aefdbc8f9f347f6dcefcddd791294314eb7
tree198936f4f91d6e571548f5b9aba9ee62e93134a6
parenta8773769d1a1e08d0ca15f890515401ab3860637
module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=y

powerpc applies relocations to the kcrctab.  They're absolute symbols,
but it's not completely unreasonable: other archs may too, but the
relocation is often 0.

http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-November/077972.html

Inspired-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/module.h
arch/powerpc/kernel/vmlinux.lds.S
kernel/module.c