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

[SPARC64]: Store magic cookie and trap type in pt_regs.



This sets us up for several simplifications and facilities:

1) The magic cookie lets us identify trap frames more
   accurately in stack backtraces.

2) The trap type lets us simplify all of the "are we in
   a syscall" state management and checks.

3) We can now see if a task off the cpu is sleeping in
   a system call or not.  In fact, we can see what
   trap it is sleeping in whatever the type.  The utrace
   guys will use this.

Based upon some discussions with Roland McGrath.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db9a7fb1
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