• Ralf Baechle's avatar
    MIPS: Fix module.c build for 32 bit · 6ede8123
    Ralf Baechle authored
    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: default avatarRalf Baechle <ralf@linux-mips.org>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    6ede8123
module-rela.c 3.93 KB