Re: [PATCH] i386/xen: add proper unwind annotations to xen_sysenter_target

From: H. Peter Anvin
Date: Fri Jul 18 2008 - 19:12:53 EST


Jan Beulich wrote:
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

---
arch/x86/kernel/entry_32.S | 2 ++
1 file changed, 2 insertions(+)

--- linux-2.6.26/arch/x86/kernel/entry_32.S 2008-07-13 23:51:29.000000000 +0200
+++ 2.6.26-i386-xen-entry-annot/arch/x86/kernel/entry_32.S 2008-07-15 14:51:28.000000000 +0200
@@ -1023,7 +1023,9 @@ ENDPROC(kernel_thread_helper)
ENTRY(xen_sysenter_target)
RING0_INT_FRAME
addl $5*4, %esp /* remove xen-provided frame */
+ CFI_ADJUST_CFA_OFFSET -5*4
jmp sysenter_past_esp
+ CFI_ENDPROC
ENTRY(xen_hypervisor_callback)
CFI_STARTPROC


Manually applied to x86/xen; CFI_ENDPROC was already in the tree...

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/