diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-10-19 10:29:24 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-12-09 14:41:19 +0300 |
commit | 25ae981fafaa140a12e4c830992b4fe997071124 (patch) | |
tree | 0977ef01c11396e2418e0ea5af4b58efdfecc574 /arch/powerpc/include/asm/irq.h | |
parent | 937fb7003ee1f37faed1f1a4ece46e8a14863d92 (diff) | |
download | linux-25ae981fafaa140a12e4c830992b4fe997071124.tar.xz |
powerpc/nohash: Move setup_kuap out of 8xx.c
In order to reuse it on booke/4xx, move KUAP
setup routine out of 8xx.c
Make them usable on SMP by removing the __init tag
as it is called for each CPU.
And use __prevent_user_access() instead of hard
coding initial lock.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae35eec3426509efc2b8ae69586c822e2fe2642a.1634627931.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/irq.h')
0 files changed, 0 insertions, 0 deletions