From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 25 Jan 2006 11:34:02 +0000 (+0100) Subject: Fix inline asm hypercall argument parameter indexes. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16531^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e5c953af87ef1e882a984ab6b23a8fa170d29cd9;p=xen.git Fix inline asm hypercall argument parameter indexes. Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h index cd255f646a..7c3acc4123 100644 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h @@ -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) \