aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-12-03 12:30:15 -0500
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-12-07 08:54:48 -0500
commit5998a3cf327c90d0a7116eca72c0d2df2be8ecfd (patch)
tree28097f22a7fcf7d461d13e790294540c489fa431 /arch/avr32
parent68ca3e537f12044af05a653fa9d28b4fe80117e8 (diff)
[AVR32] Fix wrong pt_regs in critical exception handler
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>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/kernel/entry-avr32b.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/kernel/entry-avr32b.S b/arch/avr32/kernel/entry-avr32b.S
index df6c747658c1..8cf16d7a7040 100644
--- a/arch/avr32/kernel/entry-avr32b.S
+++ b/arch/avr32/kernel/entry-avr32b.S
@@ -316,8 +316,8 @@ save_full_context_ex:
316 316
317 /* Low-level exception handlers */ 317 /* Low-level exception handlers */
318handle_critical: 318handle_critical:
319 pushm r12 319 sub sp, 4
320 pushm r0-r12 320 stmts --sp, r0-lr
321 rcall save_full_context_ex 321 rcall save_full_context_ex
322 mfsr r12, SYSREG_ECR 322 mfsr r12, SYSREG_ECR
323 mov r11, sp 323 mov r11, sp