ia64/xen-unstable

changeset 8656:159ef7d83f1c

Fix inline asm hypercall argument parameter indexes.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jan 25 12:34:02 2006 +0100 (2006-01-25)
parents b1b9049c4eb2
children aad2b2da3c8b
files linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h	Wed Jan 25 11:44:39 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h	Wed Jan 25 12:34:02 2006 +0100
     1.3 @@ -90,7 +90,7 @@
     1.4  ({								\
     1.5  	long __res, __ign1, __ign2, __ign3;			\
     1.6  	asm volatile (						\
     1.7 -		"movq %8,%%r10; "				\
     1.8 +		"movq %7,%%r10; "				\
     1.9  		"call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\
    1.10  		: "=a" (__res), "=D" (__ign1), "=S" (__ign2),	\
    1.11  		"=d" (__ign3)					\
    1.12 @@ -104,7 +104,7 @@
    1.13  ({								\
    1.14  	long __res, __ign1, __ign2, __ign3;			\
    1.15  	asm volatile (						\
    1.16 -		"movq %8,%%r10; movq %9,%%r8; "			\
    1.17 +		"movq %7,%%r10; movq %8,%%r8; "			\
    1.18  		"call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\
    1.19  		: "=a" (__res), "=D" (__ign1), "=S" (__ign2),	\
    1.20  		"=d" (__ign3)					\