Skip to content
Commit 74fca9da authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: Change struct sigcontext to be more useful



Rather than just using pt_regs, it now contains the actual saved
state explicitly, similar to pt_regs.  By doing it this way, we
provide a cleaner API for userspace (or equivalently, we avoid the
need for libc to provide its own definition of sigcontext).

While we're at it, move PT_FLAGS_xxx to where they are not visible
from userspace.  And always pass siginfo and mcontext to signal
handlers, even if they claim they don't need it, since sometimes
they actually try to use it anyway in practice.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent e6e6c46d
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