LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86-64: add two missing unwind annotations
@ 2008-10-30 10:45 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2008-10-30 10:45 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: Andi Kleen, linux-kernel

Signed-off-by: Jan Beulich <jbeulich@novell.com>

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-30 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 10:45 [PATCH] x86-64: add two missing unwind annotations Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).