diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-29 16:52:40 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-29 16:52:40 +0100 |
commit | 90bc7dea0e4996f8bfe2952d53943182ee75eef3 (patch) | |
tree | 7915f5ab031ceadb00718878558047136d45581f /xen/arch/x86/i387.c | |
parent | 56ada11259ad745d39fdab4ded0403ba13fc0688 (diff) | |
download | xen-90bc7dea0e4996f8bfe2952d53943182ee75eef3.tar.gz xen-90bc7dea0e4996f8bfe2952d53943182ee75eef3.tar.bz2 xen-90bc7dea0e4996f8bfe2952d53943182ee75eef3.zip |
xen: Get rid of some VCPUF_* flags and move into their own byte fields.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/i387.c')
-rw-r--r-- | xen/arch/x86/i387.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/i387.c b/xen/arch/x86/i387.c index 899f80da3b..f376a67754 100644 --- a/xen/arch/x86/i387.c +++ b/xen/arch/x86/i387.c @@ -21,7 +21,7 @@ void init_fpu(void) __asm__ __volatile__ ( "fninit" ); if ( cpu_has_xmm ) load_mxcsr(0x1f80); - set_bit(_VCPUF_fpu_initialised, ¤t->vcpu_flags); + current->fpu_initialised = 1; } void save_init_fpu(struct vcpu *v) @@ -76,7 +76,7 @@ void save_init_fpu(struct vcpu *v) : "=m" (*fpu_ctxt) ); } - clear_bit(_VCPUF_fpu_dirtied, &v->vcpu_flags); + v->fpu_dirtied = 0; write_cr0(cr0|X86_CR0_TS); } |