diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-23 22:52:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-23 23:32:20 -0700 |
commit | 8243e40acb087fcd9e7609333f0b0551391f49fc (patch) | |
tree | 1995a0617f0b5e861fa9716f0fe67ade561376d6 /block/blk-settings.c | |
parent | db9a7fb12c8d05104e8a541003593d62a42ade8f (diff) |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions