diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-03-12 12:50:48 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-03-29 13:22:11 +1100 |
| commit | ad2d2344771dabc5f0f14d85d5e7d2ddc613f385 (patch) | |
| tree | 87747558238a0c82274b1f727d9c9f485142c1b7 /arch/powerpc/kernel/interrupt.c?id=ad2d2344771dabc5f0f14d85d5e7d2ddc613f385 | |
| parent | b5efec00b671c5d7e9cb9e73a1d4925dd6ce8dcd (diff) | |
powerpc/64s: Make kuap_check_amr() and kuap_get_and_check_amr() generic
In preparation of porting powerpc32 to C syscall entry/exit,
rename kuap_check_amr() and kuap_get_and_check_amr() as
kuap_assert_locked() and kuap_get_and_assert_locked(), and move in the
generic asm/kup.h the stub for when CONFIG_PPC_KUAP is not selected.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f82614d9b17b83abd739aa18fc08811815d0c2e3.1615552867.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/interrupt.c?id=ad2d2344771dabc5f0f14d85d5e7d2ddc613f385')
0 files changed, 0 insertions, 0 deletions
