direct-io.hg

changeset 6473:7296ed60874f

Fix user-space four- and five-argument hypercalls on
x86/64. This fixes domU building on x86/64 (bug #196).
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Aug 30 14:14:31 2005 +0000 (2005-08-30)
parents 7069f0de0cce
children b043928b0873
files linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Tue Aug 30 13:56:08 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Tue Aug 30 14:14:31 2005 +0000
     1.3 @@ -66,7 +66,7 @@ static int privcmd_ioctl(struct inode *i
     1.4          {
     1.5              long ign1, ign2, ign3;
     1.6              __asm__ __volatile__ (
     1.7 -                "movq   %5,%%r10; movq %6,%%r8;" TRAP_INSTR
     1.8 +                "movq %8,%%r10; movq %9,%%r8;" TRAP_INSTR
     1.9                  : "=a" (ret), "=D" (ign1), "=S" (ign2), "=d" (ign3)
    1.10                  : "0" ((unsigned long)hypercall.op), 
    1.11                  "1" ((unsigned long)hypercall.arg[0]),