sparc64: Prevent stack backtrace false positives on trap frames.
commitada44a0430fdd00b3f38aad0aa518e97cb760bd0
authorDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2008 04:50:01 +0000 (21 21:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2008 04:50:01 +0000 (21 21:50 -0700)
treee06cbde666e77576a152056cf340b889f03257aa
parent14d2c68baa659cfd15dc782dd229ea304330c4f6
sparc64: Prevent stack backtrace false positives on trap frames.

When we fully commit to returning back to kernel mode from
a trap, zero out the regs->magic value to prevent false
positives during stack backtraces.

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