]> git.baikalelectronics.ru Git - kernel.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)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Sep 2012 05:01:02 +0000 (14:31 +0930)
commit1d847ace6c4c7399e2a554dfd3b140cebc8c7a45
treef31b3750b611b3d580864dbe9f8444cc1173d396
parent2732c0027976f6802d59024dd43ade707a624f70
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