projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
c01f0f1
74db247
)
Merge branch 'sh/dwarf-unwinder'
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Aug 2009 20:37:14 +0000
(
05:37
+0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Aug 2009 20:37:14 +0000
(
05:37
+0900)
Conflicts:
arch/sh/kernel/cpu/sh3/entry.S
1
2
arch/sh/kernel/cpu/sh3/entry.S
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
arch/sh/kernel/cpu/sh3/entry.S
index 272636ec5c9823f6c38ecfa73f0bdeb848981af2,f89ec87e3fc344f714cbd9dc107c039658475320..8c19e21847d7f655329fef95555e633977db73af
---
1
/
arch/sh/kernel/cpu/sh3/entry.S
---
2
/
arch/sh/kernel/cpu/sh3/entry.S
+++ b/
arch/sh/kernel/cpu/sh3/entry.S
@@@
-508,14
-508,8
+508,16
@@@
ENTRY(handle_interrupt
bsr save_regs ! needs original pr value in k3
mov #-1, k2 ! default vector kept in k2
+ setup_frame_reg
+
+ stc sr, r0 ! get status register
+ shlr2 r0
+ and #0x3c, r0
+ cmp/eq #0x3c, r0
+ bf 9f
+ TRACE_IRQS_OFF
+9:
+
! Setup return address and jump to do_IRQ
mov.l 4f, r9 ! fetch return address
lds r9, pr ! put return address in pr