Skip to content

Commit 704e646

Browse files
Markos Chandrasralfbaechle
authored andcommitted
MIPS: Kconfig: Add missing MODULES dependency to VPE_LOADER
The vpe.c code uses the 'struct module' which is only available if CONFIG_MODULES is selected. Also fixes the following build problem on a lantiq allmodconfig: In file included from arch/mips/kernel/vpe.c:41:0: include/linux/moduleloader.h: In function 'apply_relocate': include/linux/moduleloader.h:48:63: error: dereferencing pointer to incomplete type include/linux/moduleloader.h: In function 'apply_relocate_add': include/linux/moduleloader.h:70:63: error: dereferencing pointer to incomplete type Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5562/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 7aa2d05 commit 704e646

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ config MIPS_MT_FPAFF
19291929

19301930
config MIPS_VPE_LOADER
19311931
bool "VPE loader support."
1932-
depends on SYS_SUPPORTS_MULTITHREADING
1932+
depends on SYS_SUPPORTS_MULTITHREADING && MODULES
19331933
select CPU_MIPSR2_IRQ_VI
19341934
select CPU_MIPSR2_IRQ_EI
19351935
select MIPS_MT

0 commit comments

Comments
 (0)