diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-04-28 18:04:45 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-04-28 18:04:45 +0000 |
commit | 3ba18b6857ce0e98e761a70feb4602ea743f9ed5 (patch) | |
tree | 13ab741a07f9e69eaa41affb04d4a28522ca0f5f /xen/arch/x86/i387.c | |
parent | 610bfea9f1dc89401a33b35c5541bc04bff8ed17 (diff) | |
download | xen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.tar.gz xen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.tar.bz2 xen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.zip |
bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain
structures. The latter now includes the former as a sub-field.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/i387.c')
-rw-r--r-- | xen/arch/x86/i387.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/arch/x86/i387.c b/xen/arch/x86/i387.c index 82cf45bbac..f25973398f 100644 --- a/xen/arch/x86/i387.c +++ b/xen/arch/x86/i387.c @@ -34,11 +34,11 @@ void save_init_fpu(struct exec_domain *tsk) if ( cpu_has_fxsr ) __asm__ __volatile__ ( "fxsave %0 ; fnclex" - : "=m" (tsk->arch.i387) ); + : "=m" (tsk->arch.guest_context.fpu_ctxt) ); else __asm__ __volatile__ ( "fnsave %0 ; fwait" - : "=m" (tsk->arch.i387) ); + : "=m" (tsk->arch.guest_context.fpu_ctxt) ); clear_bit(EDF_USEDFPU, &tsk->ed_flags); stts(); @@ -49,11 +49,11 @@ void restore_fpu(struct exec_domain *tsk) if ( cpu_has_fxsr ) __asm__ __volatile__ ( "fxrstor %0" - : : "m" (tsk->arch.i387) ); + : : "m" (tsk->arch.guest_context.fpu_ctxt) ); else __asm__ __volatile__ ( "frstor %0" - : : "m" (tsk->arch.i387) ); + : : "m" (tsk->arch.guest_context.fpu_ctxt) ); } /* |