# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 159ef7d83f1c9860cbc5d6adcf10d3752eafffbb
# Parent b1b9049c4eb201b7b8a34598d4aae808021e11da
Fix inline asm hypercall argument parameter indexes.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r b1b9049c4eb2 -r 159ef7d83f1c
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h Wed Jan
25 10:44:39 2006
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h Wed Jan
25 11:34:02 2006
@@ -90,7 +90,7 @@
({ \
long __res, __ign1, __ign2, __ign3; \
asm volatile ( \
- "movq %8,%%r10; " \
+ "movq %7,%%r10; " \
"call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\
: "=a" (__res), "=D" (__ign1), "=S" (__ign2), \
"=d" (__ign3) \
@@ -104,7 +104,7 @@
({ \
long __res, __ign1, __ign2, __ign3; \
asm volatile ( \
- "movq %8,%%r10; movq %9,%%r8; " \
+ "movq %7,%%r10; movq %8,%%r8; " \
"call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\
: "=a" (__res), "=D" (__ign1), "=S" (__ign2), \
"=d" (__ign3) \
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|