projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b344e24
)
sh: Setup the frame pointer in handle_interrupt
author
Matt Fleming
<matt@console-pimps.org>
Thu, 20 Aug 2009 16:00:21 +0000
(17:00 +0100)
committer
Matt Fleming
<matt@console-pimps.org>
Fri, 21 Aug 2009 12:04:10 +0000
(13:04 +0100)
When CONFIG_DWARF_UNWINDER is enabled setup r14 in handle_interrupt, so
that we can figure out what function was running when we were
interrupted.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/kernel/cpu/sh3/entry.S
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh3/entry.S
b/arch/sh/kernel/cpu/sh3/entry.S
index
67ad646
..
f89ec87
100644
(file)
--- a/
arch/sh/kernel/cpu/sh3/entry.S
+++ b/
arch/sh/kernel/cpu/sh3/entry.S
@@
-508,6
+508,8
@@
ENTRY(handle_interrupt)
bsr save_regs ! needs original pr value in k3
mov #-1, k2 ! default vector kept in k2
+ setup_frame_reg
+
! Setup return address and jump to do_IRQ
mov.l 4f, r9 ! fetch return address
lds r9, pr ! put return address in pr