diff options
author | Matt Fleming <matt@console-pimps.org> | 2010-01-27 23:05:20 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-08 04:46:46 +0300 |
commit | 142698282ceb6811ad3482c218b7292037cb67ff (patch) | |
tree | 2f08f7effe732a8485e1588b8b252e99c29cfee3 /mm/bootmem.c | |
parent | 2c940db250c1610d95ea5331dc819b8bd4db96ae (diff) | |
download | linux-142698282ceb6811ad3482c218b7292037cb67ff.tar.xz |
sh: Correct the offset of the return address in ret_from_exception
The address that ret_from_exception and ret_from_irq will return to is
found in the stack slot for SPC, not PR. This error was causing the
DWARF unwinder to pick up the wrong return address on the stack and then
unwind using the unwind tables for the wrong function.
While I'm here I might as well add CFI annotations for the other
registers since they could be useful when unwinding.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions