ia64/xen-unstable

changeset 6301:fd28bf8825a8

Fix x86/64 build by defining correct vcpu_pickle().
author kaf24@firebug.cl.cam.ac.uk
date Fri Aug 19 17:56:20 2005 +0000 (2005-08-19)
parents d0f23c103453
children 5e8123554d15
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	Fri Aug 19 17:51:37 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h	Fri Aug 19 17:56:20 2005 +0000
     1.3 @@ -507,14 +507,14 @@ HYPERVISOR_vcpu_pickle(
     1.4      int vcpu, vcpu_guest_context_t *ctxt)
     1.5  {
     1.6      int ret;
     1.7 -    unsigned long ign1, ign2;
     1.8 +
     1.9      __asm__ __volatile__ (
    1.10          TRAP_INSTR
    1.11 -        : "=a" (ret), "=b" (ign1), "=c" (ign2)
    1.12 -	: "0" (__HYPERVISOR_sched_op),
    1.13 -	  "1" (SCHEDOP_vcpu_pickle | (vcpu << SCHEDOP_vcpushift)),
    1.14 -	  "2" (ctxt)
    1.15 -        : __syscall_clobber );
    1.16 +        : "=a" (ret)
    1.17 +	: "0" ((unsigned long)__HYPERVISOR_sched_op),
    1.18 +	"D" ((unsigned long)SCHEDOP_vcpu_pickle | (vcpu << SCHEDOP_vcpushift)),
    1.19 +	"S" ((unsigned long)ctxt)
    1.20 +	: __syscall_clobber );
    1.21  
    1.22      return ret;
    1.23  }