[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] fix asm syntax
# HG changeset patch # User john.levon@xxxxxxx # Date 1161091309 25200 # Node ID 3348121778e4020dac6ee010320e704de0d64f67 # Parent 4620ccff3fd3ec41bbdabfdddb3f75fb83673172 Our version of 'as' doesn't accept the 'rex64/' syntax. Signed-off-by: John Levon <john.levon@xxxxxxx> diff --git a/xen/arch/x86/i387.c b/xen/arch/x86/i387.c --- a/xen/arch/x86/i387.c +++ b/xen/arch/x86/i387.c @@ -45,7 +45,7 @@ void save_init_fpu(struct vcpu *v) * mode that doesn't require extended registers. */ __asm__ __volatile__ ( - "rex64/fxsave (%1)" + "rex64 ; fxsave (%1)" : "=m" (*fpu_ctxt) : "cdaSDb" (fpu_ctxt) ); #endif @@ -95,7 +95,7 @@ void restore_fpu(struct vcpu *v) "1: fxrstor %0 \n" #else /* __x86_64__ */ /* See above for why the operands/constraints are this way. */ - "1: rex64/fxrstor (%2) \n" + "1: rex64 ; fxrstor (%2) \n" #endif ".section .fixup,\"ax\" \n" "2: push %%"__OP"ax \n" _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |