i386/xen: add proper unwind annotations to xen_sysenter_target
authorJan Beulich <jbeulich@novell.com>
Fri, 18 Jul 2008 12:32:23 +0000 (13:32 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 18 Jul 2008 23:05:55 +0000 (16:05 -0700)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/entry_32.S

index 6bc07f0f1202eeb1eaac0b55064acad7f355371a..ad5264c29e9b4b161a67c4d5e810795af838e819 100644 (file)
@@ -1024,6 +1024,7 @@ 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