aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kernel/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-08-14 17:13:45 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-09-28 14:31:02 +0930
commit6ede81239e31cfacbb1e2d260530cd80d13cf0db (patch)
treef31b3750b611b3d580864dbe9f8444cc1173d396 /arch/mips/kernel/Makefile
parentc99af3752bb52ba3aece5315279a57a477edfaf1 (diff)
downloadvexpress-lsk-6ede81239e31cfacbb1e2d260530cd80d13cf0db.tar.gz
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>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r--arch/mips/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index fdaf65e1a99..e2c14999839 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -31,6 +31,7 @@ obj-$(CONFIG_SYNC_R4K) += sync-r4k.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-$(CONFIG_MODULES) += mips_ksyms.o module.o
+obj-$(CONFIG_MODULES) += module-rela.o
obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o