powerpc: use CONFIG_EXECMEM instead of CONFIG_MODULES where appropriate
There are places where CONFIG_MODULES guards the code that depends on memory allocation being done with module_alloc(). Replace CONFIG_MODULES with CONFIG_EXECMEM in such places. Signed-off-by:Mike Rapoport (IBM) <rppt@kernel.org> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org>
Showing
- arch/powerpc/Kconfig 1 addition, 1 deletionarch/powerpc/Kconfig
- arch/powerpc/include/asm/kasan.h 1 addition, 1 deletionarch/powerpc/include/asm/kasan.h
- arch/powerpc/kernel/head_8xx.S 2 additions, 2 deletionsarch/powerpc/kernel/head_8xx.S
- arch/powerpc/kernel/head_book3s_32.S 3 additions, 3 deletionsarch/powerpc/kernel/head_book3s_32.S
- arch/powerpc/lib/code-patching.c 1 addition, 1 deletionarch/powerpc/lib/code-patching.c
- arch/powerpc/mm/book3s32/mmu.c 1 addition, 1 deletionarch/powerpc/mm/book3s32/mmu.c
Please register or sign in to comment