Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5998a3cf327c90d0a7116eca72c0d2df2be8ecfd
Commit:     5998a3cf327c90d0a7116eca72c0d2df2be8ecfd
Parent:     68ca3e537f12044af05a653fa9d28b4fe80117e8
Author:     Haavard Skinnemoen <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 3 18:30:15 2007 +0100
Committer:  Haavard Skinnemoen <[EMAIL PROTECTED]>
CommitDate: Fri Dec 7 14:54:48 2007 +0100

    [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 <[EMAIL PROTECTED]>
---
 arch/avr32/kernel/entry-avr32b.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/avr32/kernel/entry-avr32b.S b/arch/avr32/kernel/entry-avr32b.S
index df6c747..8cf16d7 100644
--- 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to