Skip to content
Commit 90888816 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Clean up handling of pt_regs trap type encoding.



If we use this from more than one place, it's better to
have helpers instead of twiddling magic constants all
over.

Add pt_regs_trap_type(), pt_regs_clear_trap_type(), and
pt_regs_is_syscall().

Use them in do_signal().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5526b7e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment