lkml.org 
[lkml]   [2008]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] x86-64: add two missing unwind annotations
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




\
 
 \ /
  Last update: 2008-10-30 11:47    [W:0.026 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site