]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Fix module.c build for 32 bit
authorRalf Baechle <ralf@linux-mips.org>
Tue, 14 Aug 2012 15:13:45 +0000 (17:13 +0200)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 22 Aug 2012 00:47:09 +0000 (10:47 +1000)
commit9db0bbe072c825ef867a1ec25872f9d8a06671b3
tree2175f512860f26139464859dd2bfb9690d3eedc2
parent8ef8f85abc3e4d4a87fa87a8da5a0349ded86ac2
MIPS: Fix module.c build for 32 bit

Fixes build failure introduced by "Make most arch asm/module.h files use
asm-generic/module.h" by moving all the RELA processing code to a
separate file to be used only for RELA processing on 64-bit kernels.

  CC      arch/mips/kernel/module.o
arch/mips/kernel/module.c:250:14: error: 'reloc_handlers_rela' defined but not
used [-Werror=unused-variable]
cc1: all warnings being treated as errors

make[6]: *** [arch/mips/kernel/module.o] Error 1

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/mips/kernel/Makefile
arch/mips/kernel/module-rela.c [new file with mode: 0644]
arch/mips/kernel/module.c