x86: use matching CFI_ENDPROC
authorGlauber Costa <gcosta@redhat.com>
Thu, 10 Jul 2008 18:09:20 +0000 (15:09 -0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 18:49:28 +0000 (20:49 +0200)
The RING0_INT_FRAME macro defines a CFI_STARTPROC.
So we should really be using CFI_ENDPROC after it.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S

index 53393c3..cfe28a7 100644 (file)
@@ -1024,6 +1024,7 @@ ENTRY(xen_sysenter_target)
        RING0_INT_FRAME
        addl $5*4, %esp         /* remove xen-provided frame */
        jmp sysenter_past_esp
+       CFI_ENDPROC
 
 ENTRY(xen_hypervisor_callback)
        CFI_STARTPROC