# HG changeset patch # User jnakajim@build64 # Node ID feeb0f4eec4288e8e726d056117b4474610ce30a # Parent 0608852073c86cfa432ac32cb9223531950be896 Fix the build problem. diff -r 0608852073c8 -r feeb0f4eec42 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 Fri Aug 19 17:25:04 2005 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h Fri Aug 19 18:16:29 2005 @@ -507,14 +507,14 @@ int vcpu, vcpu_guest_context_t *ctxt) { int ret; - unsigned long ign1, ign2; - __asm__ __volatile__ ( - TRAP_INSTR - : "=a" (ret), "=b" (ign1), "=c" (ign2) + unsigned long ign1; + __asm__ __volatile__ ( + TRAP_INSTR + : "=a" (ret), "=b" (ign1) : "0" (__HYPERVISOR_sched_op), - "1" (SCHEDOP_vcpu_pickle | (vcpu << SCHEDOP_vcpushift)), - "2" (ctxt) - : __syscall_clobber ); + "D" (SCHEDOP_vcpu_pickle | (vcpu << SCHEDOP_vcpushift)), + "S" (ctxt) + : __syscall_clobber); return ret; }