x86: add two missing unwind annotations
authorJan Beulich <jbeulich@novell.com>
Thu, 30 Oct 2008 10:45:36 +0000 (10:45 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 30 Oct 2008 18:17:21 +0000 (19:17 +0100)
Impact: improve debuginfo

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S

index b86f332..ddeeb10 100644 (file)
@@ -255,6 +255,7 @@ ENTRY(ret_from_fork)
        call schedule_tail
        GET_THREAD_INFO(%rcx)
        testl $(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%rcx)
+       CFI_REMEMBER_STATE
        jnz rff_trace
 rff_action:    
        RESTORE_REST
@@ -264,6 +265,7 @@ rff_action:
        jnz  int_ret_from_sys_call
        RESTORE_TOP_OF_STACK %rdi,ARGOFFSET
        jmp ret_from_sys_call
+       CFI_RESTORE_STATE
 rff_trace:
        movq %rsp,%rdi
        call syscall_trace_leave