summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal_64.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-05-07 14:13:31 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-15 03:58:54 +0200
commit912237ea166428edcbf3c137adf12cb987c477f2 (patch)
treee5397bfdc0e5723782986aeceb77db3a06de4947 /arch/powerpc/kernel/signal_64.c
parentpowerpc: Use set_trap() and avoid open-coding trap masking (diff)
downloadlinux-912237ea166428edcbf3c137adf12cb987c477f2.tar.xz
linux-912237ea166428edcbf3c137adf12cb987c477f2.zip
powerpc: trap_is_syscall() helper to hide syscall trap number
A new system call interrupt will be added with a new trap number. Hide the explicit 0xc00 test behind an accessor to reduce churn in callers. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Make it a static inline] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200507121332.2233629-3-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/kernel/signal_64.c')
0 files changed, 0 insertions, 0 deletions