linux/arch/powerpc/mm/book3s32
Christophe Leroy c89e632658 powerpc/32s: Fix setup_{kuap/kuep}() on SMP
On SMP, setup_kup() is also called from start_secondary().

start_secondary() is not an __init function.

Remove the __init marker from setup_kuep() and setup_kuap().

Fixes: 86f46f3432 ("powerpc/32s: Initialise KUAP and KUEP in C")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/42f4bd12b476942e4d5dc81c0e839d8871b20b1c.1624863319.git.christophe.leroy@csgroup.eu
2021-06-30 22:20:39 +10:00
..
hash_low.S powerpc/32s: Rename PTE_SIZE to PTE_T_SIZE 2021-06-17 00:09:10 +10:00
kuap.c powerpc/32s: Fix setup_{kuap/kuep}() on SMP 2021-06-30 22:20:39 +10:00
kuep.c powerpc/32s: Fix setup_{kuap/kuep}() on SMP 2021-06-30 22:20:39 +10:00
Makefile powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c 2021-06-17 00:09:07 +10:00
mmu_context.c powerpc/32s: Convert switch_mmu_context() to C 2021-06-17 00:09:08 +10:00
mmu.c powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c 2021-06-17 00:09:07 +10:00
nohash_low.S powerpc/32s: Move _tlbie() and _tlbia() in a new file 2020-12-09 16:46:55 +11:00
tlb.c powerpc/32s: Move early_mmu_init() into mmu.c 2020-12-09 16:46:56 +11:00