diff options
author | Wei Huang <wei.huang2@amd.com> | 2011-05-09 11:38:30 +0100 |
---|---|---|
committer | Wei Huang <wei.huang2@amd.com> | 2011-05-09 11:38:30 +0100 |
commit | 3eb0faa4f80653d56e0e74d68872f6d73de23937 (patch) | |
tree | 7f3f898fa69324d8e1f4e1ef91de82725f0c17dc /xen/include/asm-x86/i387.h | |
parent | 09014a12a9a2e820bc2ac2f82ff9018a69208c8c (diff) | |
download | xen-3eb0faa4f80653d56e0e74d68872f6d73de23937.tar.gz xen-3eb0faa4f80653d56e0e74d68872f6d73de23937.tar.bz2 xen-3eb0faa4f80653d56e0e74d68872f6d73de23937.zip |
x86/fpu: clean up FPU context restore function
This patch cleans up context restore function. It renames the function
name to vcpu_restore_fpu(). It also extracts FPU restore code (frstor,
fxrstor, xrstor) out into seperate functions. vcpu_restor_fpu() will
dispatch to these functions depending on CPU's capability.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
Diffstat (limited to 'xen/include/asm-x86/i387.h')
-rw-r--r-- | xen/include/asm-x86/i387.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/i387.h b/xen/include/asm-x86/i387.h index d85713a89c..f3a7df0229 100644 --- a/xen/include/asm-x86/i387.h +++ b/xen/include/asm-x86/i387.h @@ -14,7 +14,7 @@ #include <xen/types.h> #include <xen/percpu.h> -void setup_fpu(struct vcpu *v); +void vcpu_restore_fpu(struct vcpu *v); void vcpu_save_fpu(struct vcpu *v); int vcpu_init_fpu(struct vcpu *v); |