Fix trivial unwind info bug
PATCH 1/1 Fix trivial unwind info bug
CFA needs to be adjusted upwards for push, and downwards for pop. arch/i386/kernel/entry.S gets it wrong in one place.
arch/i386/kernel/entry.S +1 -1
@@ -204,7 +204,7 @@ #define RING0_PTREGS_FRAME \ ENTRY(ret_from_fork) CFI_STARTPROC pushl %eax - CFI_ADJUST_CFA_OFFSET -4 + CFI_ADJUST_CFA_OFFSET 4 call schedule_tail GET_THREAD_INFO(%ebp) popl %eax
Quoted 4 lines · Markus Armbruster
CFA needs to be adjusted upwards for push, and downwards for pop.
arch/i386/kernel/entry.Sgets it wrong in one place.Signed-off-by Markus Armbruster <[email protected]>
Thanks for the patch Markus. Andi Kleen is now maintaining i386 so please cc him in future for i386 patches.
arch/i386/kernel/entry.S #define RING0_PTREGS_FRAME \ · line 210
Quoted 13 lines
arch/i386/kernel/entry.S +1
-1@@ -204,7 +204,7 @@ #define RING0_PTREGS_FRAME \ ENTRY(ret_from_fork) CFI_STARTPROC pushl %eax - CFI_ADJUST_CFA_OFFSET -4 + CFI_ADJUST_CFA_OFFSET 4 call schedule_tail GET_THREAD_INFO(%ebp) popl %eax
I wonder if this is related to the problem of dump_stack() crashing...
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtQuoted 8 lines · On Tue, 01 Aug 2006 00:52:32 +1000 Herbert Xu wrote:
Quoted 4 lines · Markus Armbruster
CFA needs to be adjusted upwards for push, and downwards for pop.
arch/i386/kernel/entry.Sgets it wrong in one place.Signed-off-by Markus Armbruster <[email protected]>Thanks for the patch Markus. Andi Kleen is now maintaining i386 so please cc him in future for i386 patches.
Oh, that's clearer than what I heard. Please add it to MAINTAINERS.
Thanks,
---
~Randy
Quoted 8 lines · Herbert Xu
Quoted 4 lines · Markus Armbruster
CFA needs to be adjusted upwards for push, and downwards for pop.
arch/i386/kernel/entry.Sgets it wrong in one place.Signed-off-by Markus Armbruster <[email protected]>Thanks for the patch Markus. Andi Kleen is now maintaining i386 so please cc him in future for i386 patches.
Sorry, but that's not true. I do occassional i386 patches, but overall it is still maintainerless or done by Andrew.
-Andi