Skip to content

Commit c55d7b5

Browse files
ruscurmpe
authored andcommitted
powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE
I have tested this with the Radix MMU and everything seems to work, and the previous patch for Hash seems to fix everything too. STRICT_KERNEL_RWX should still be disabled by default for now. Please test STRICT_KERNEL_RWX + RELOCATABLE! Signed-off-by: Russell Currey <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 970d54f commit c55d7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ config PPC
133133
select ARCH_HAS_PTE_SPECIAL
134134
select ARCH_HAS_MEMBARRIER_CALLBACKS
135135
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
136-
select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !RELOCATABLE && !HIBERNATION)
136+
select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !HIBERNATION)
137137
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
138138
select ARCH_HAS_UACCESS_FLUSHCACHE
139139
select ARCH_HAS_UACCESS_MCSAFE if PPC64

0 commit comments

Comments
 (0)