[POWERPC] Support feature fixups in modules
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 Oct 2006 01:47:19 +0000 (11:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 01:54:13 +0000 (11:54 +1000)
commit21c4ff80cba5e24932f3ef79c8482c0491630b2b
treedf44027a8f419057039f1709371b85cd57b52804
parent0909c8c2d547e45ca50e2492b08ec93a37b35237
[POWERPC] Support feature fixups in modules

This patch adds support for feature fixups in modules. This involves
adding support for R_PPC64_REL64 relocs to the 64 bits module loader.
It also modifies modpost.c to ignore the powerpc fixup sections (or it
would warn when used in .init.text).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/module_32.c
arch/powerpc/kernel/module_64.c
scripts/mod/modpost.c