diff options
author | Christophe Leroy <[email protected]> | 2021-10-19 09:29:24 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-12-09 22:41:19 +1100 |
commit | 25ae981fafaa140a12e4c830992b4fe997071124 (patch) | |
tree | 0977ef01c11396e2418e0ea5af4b58efdfecc574 /arch/powerpc/include/asm/ptrace.h | |
parent | 937fb7003ee1f37faed1f1a4ece46e8a14863d92 (diff) |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/ae35eec3426509efc2b8ae69586c822e2fe2642a.1634627931.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/ptrace.h')
0 files changed, 0 insertions, 0 deletions