* [PATCH] i386/xen: add proper unwind annotations to xen_sysenter_target
@ 2008-07-18 12:32 Jan Beulich
2008-07-18 23:09 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2008-07-18 12:32 UTC (permalink / raw)
To: mingo, tglx, hpa; +Cc: Jeremy Fitzhardinge, linux-kernel
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
---
arch/x86/kernel/entry_32.S | 2 ++
1 file changed, 2 insertions(+)
--- linux-2.6.26/arch/x86/kernel/entry_32.S 2008-07-13 23:51:29.000000000 +0200
+++ 2.6.26-i386-xen-entry-annot/arch/x86/kernel/entry_32.S 2008-07-15 14:51:28.000000000 +0200
@@ -1023,7 +1023,9 @@ ENDPROC(kernel_thread_helper)
ENTRY(xen_sysenter_target)
RING0_INT_FRAME
addl $5*4, %esp /* remove xen-provided frame */
+ CFI_ADJUST_CFA_OFFSET -5*4
jmp sysenter_past_esp
+ CFI_ENDPROC
ENTRY(xen_hypervisor_callback)
CFI_STARTPROC
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] i386/xen: add proper unwind annotations to xen_sysenter_target
2008-07-18 12:32 [PATCH] i386/xen: add proper unwind annotations to xen_sysenter_target Jan Beulich
@ 2008-07-18 23:09 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2008-07-18 23:09 UTC (permalink / raw)
To: Jan Beulich; +Cc: mingo, tglx, Jeremy Fitzhardinge, linux-kernel
Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> Cc: Jeremy Fitzhardinge <jeremy@goop.org>
>
> ---
> arch/x86/kernel/entry_32.S | 2 ++
> 1 file changed, 2 insertions(+)
>
> --- linux-2.6.26/arch/x86/kernel/entry_32.S 2008-07-13 23:51:29.000000000 +0200
> +++ 2.6.26-i386-xen-entry-annot/arch/x86/kernel/entry_32.S 2008-07-15 14:51:28.000000000 +0200
> @@ -1023,7 +1023,9 @@ ENDPROC(kernel_thread_helper)
> ENTRY(xen_sysenter_target)
> RING0_INT_FRAME
> addl $5*4, %esp /* remove xen-provided frame */
> + CFI_ADJUST_CFA_OFFSET -5*4
> jmp sysenter_past_esp
> + CFI_ENDPROC
>
> ENTRY(xen_hypervisor_callback)
> CFI_STARTPROC
>
Manually applied to x86/xen; CFI_ENDPROC was already in the tree...
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-18 23:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 12:32 [PATCH] i386/xen: add proper unwind annotations to xen_sysenter_target Jan Beulich
2008-07-18 23:09 ` H. Peter Anvin
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).