OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ca3e5
)
[AVR32] Fix wrong pt_regs in critical exception handler
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 3 Dec 2007 17:30:15 +0000
(18:30 +0100)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Fri, 7 Dec 2007 13:54:48 +0000
(14:54 +0100)
It's not like it really matters at this point since the system is
dying anyway, but handle_critical pushes too few registers on the
stack so the register dump, which makes the register dump look a bit
strange. This patch fixes it.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/entry-avr32b.S
patch
|
blob
|
history
diff --git
a/arch/avr32/kernel/entry-avr32b.S
b/arch/avr32/kernel/entry-avr32b.S
index
df6c747
..
8cf16d7
100644
(file)
--- a/
arch/avr32/kernel/entry-avr32b.S
+++ b/
arch/avr32/kernel/entry-avr32b.S
@@
-316,8
+316,8
@@
save_full_context_ex:
/* Low-level exception handlers */
handle_critical:
- pushm r12
- pushm r0-r12
+ sub sp, 4
+ stmts --sp, r0-lr
rcall save_full_context_ex
mfsr r12, SYSREG_ECR
mov r11, sp