diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-08-14 15:13:45 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-09-28 05:01:02 (GMT) |
commit | 6ede81239e31cfacbb1e2d260530cd80d13cf0db (patch) | |
tree | f31b3750b611b3d580864dbe9f8444cc1173d396 /arch/mips/kernel/Makefile | |
parent | c99af3752bb52ba3aece5315279a57a477edfaf1 (diff) | |
download | linux-fsl-qoriq-6ede81239e31cfacbb1e2d260530cd80d13cf0db.tar.xz |
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/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index fdaf65e..e2c1499 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 |