linux/arch/powerpc/include
Christophe Leroy e2fb9f5444 powerpc/32: Prepare for Kernel Userspace Access Protection
This patch adds ASM macros for saving, restoring and checking
the KUAP state, and modifies setup_32 to call them on exceptions
from kernel.

The macros are defined as empty by default for when CONFIG_PPC_KUAP
is not selected and/or for platforms which don't handle (yet) KUAP.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-04-21 23:11:46 +10:00
..
asm powerpc/32: Prepare for Kernel Userspace Access Protection 2019-04-21 23:11:46 +10:00
uapi/asm Kbuild updates for v5.1 (2nd) 2019-03-17 13:25:26 -07:00