aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/i387.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-02 21:05:33 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-02 21:05:33 +0000
commitdc33311d827818f8c893b88d89bf015327c79a42 (patch)
treef724a627d86ed052c2b4d1c816af731d6d6d8f90 /xen/include/asm-x86/i387.h
parentb5290d3405646879575efe051dc479e7117729a1 (diff)
downloadxen-dc33311d827818f8c893b88d89bf015327c79a42.tar.gz
xen-dc33311d827818f8c893b88d89bf015327c79a42.tar.bz2
xen-dc33311d827818f8c893b88d89bf015327c79a42.zip
bitkeeper revision 1.1644.1.1 (429f749dKFzVUg9NXDMVu4apHJvpNQ)
The last annoying rename: struct exec_domain *ed -> struct vcpu *v Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/i387.h')
-rw-r--r--xen/include/asm-x86/i387.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/xen/include/asm-x86/i387.h b/xen/include/asm-x86/i387.h
index a1f0feaec0..f9216605ed 100644
--- a/xen/include/asm-x86/i387.h
+++ b/xen/include/asm-x86/i387.h
@@ -15,8 +15,8 @@
#include <asm/processor.h>
extern void init_fpu(void);
-extern void save_init_fpu(struct exec_domain *tsk);
-extern void restore_fpu(struct exec_domain *tsk);
+extern void save_init_fpu(struct vcpu *tsk);
+extern void restore_fpu(struct vcpu *tsk);
#define unlazy_fpu(_tsk) do { \
if ( test_bit(_VCPUF_fpu_dirtied, &(_tsk)->vcpu_flags) ) \
@@ -29,12 +29,12 @@ extern void restore_fpu(struct exec_domain *tsk);
} while ( 0 )
/* Make domain the FPU owner */
-static inline void setup_fpu(struct exec_domain *ed)
+static inline void setup_fpu(struct vcpu *v)
{
- if ( !test_and_set_bit(_VCPUF_fpu_dirtied, &ed->vcpu_flags) )
+ if ( !test_and_set_bit(_VCPUF_fpu_dirtied, &v->vcpu_flags) )
{
- if ( test_bit(_VCPUF_fpu_initialised, &ed->vcpu_flags) )
- restore_fpu(ed);
+ if ( test_bit(_VCPUF_fpu_initialised, &v->vcpu_flags) )
+ restore_fpu(v);
else
init_fpu();
}