[PATCH] x86-64: add two missing unwind annotations

From: Jan Beulich
Date: Thu Oct 30 2008 - 06:45:33 EST


Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

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

--- linux-2.6.28-rc2/arch/x86/kernel/entry_64.S 2008-10-30 11:28:00.000000000 +0100
+++ 2.6.28-rc2-x86_64-unwind-annotations/arch/x86/kernel/entry_64.S 2008-10-30 00:00:00.000000000 +0100
@@ -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



--
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/