Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/kuap: Make PPC_KUAP_DEBUG depend on PPC_KUAP only

PPC_KUAP_DEBUG is supported by all platforms doing PPC_KUAP,
it doesn't depend on Radix on book3s/64.

This will avoid adding one more dependency when implementing
KUAP on book3e/64.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a5ff6228a36e51783b83d8c10d058db76e450f63.1634627931.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
e3c02f25 42e03bc5

+1 -1
+1 -1
arch/powerpc/platforms/Kconfig.cputype
··· 446 446 447 447 config PPC_KUAP_DEBUG 448 448 bool "Extra debugging for Kernel Userspace Access Protection" 449 - depends on PPC_KUAP && (PPC_RADIX_MMU || PPC32) 449 + depends on PPC_KUAP 450 450 help 451 451 Add extra debugging for Kernel Userspace Access Protection (KUAP) 452 452 If you're unsure, say N.