Jan Beulich
2010-Dec-15 10:49 UTC
[Xen-devel] [PATCH] x86-64: fix restoring of hypercall arguments after trace callout
Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -156,8 +156,8 @@ ENTRY(syscall_enter) movq UREGS_rsi+SHADOW_BYTES(%rsp),%rsi /* Arg 2 */ movq UREGS_rdx+SHADOW_BYTES(%rsp),%rdx /* Arg 3 */ movq UREGS_r10+SHADOW_BYTES(%rsp),%rcx /* Arg 4 */ - movq UREGS_rdi+SHADOW_BYTES(%rsp),%r8 /* Arg 5 */ - movq UREGS_rbp+SHADOW_BYTES(%rsp),%r9 /* Arg 6 */ + movq UREGS_r8 +SHADOW_BYTES(%rsp),%r8 /* Arg 5 */ + movq UREGS_r9 +SHADOW_BYTES(%rsp),%r9 /* Arg 6 */ #undef SHADOW_BYTES 1: leaq hypercall_table(%rip),%r10 PERFC_INCR(PERFC_hypercalls, %rax, %rbx) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel