sparc64: Fix stack tracing through trap frames.
authorDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2008 01:15:53 +0000 (18:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2008 01:15:53 +0000 (18:15 -0700)
commit14d2c68baa659cfd15dc782dd229ea304330c4f6
tree73e9b2e3a5496333d41bf85894b0b0cfa779ad34
parenta051bc5bb1ac6dc138d529077fa20cbbc6622d95
sparc64: Fix stack tracing through trap frames.

The offset to the pt_regs area was wrong, so we weren't
looking at the right location for the magic cookie.

A trap frame is composed of a "struct sparc_stackf" then
a "struct pt_regs", the code was using "struct reg_window"
instead of "struct sparc_stackf".

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/stacktrace.c
arch/sparc64/kernel/traps.c