diff options
author | Sheng Yang <sheng@linux.intel.com> | 2010-05-17 05:22:23 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 03:35:48 -0400 |
commit | 5ee481da7b62a992b91f958bf26aaaa92354c170 (patch) | |
tree | ce62d6a6618d686ee793c5ea9a64e755300144e0 /arch/x86/include/asm/i387.h | |
parent | 93736624635235cc5372ffca6d62816d02170724 (diff) |
x86: Export FPU API for KVM use
Also add some constants.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/i387.h')
-rw-r--r-- | arch/x86/include/asm/i387.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/i387.h b/arch/x86/include/asm/i387.h index c991b3a7b904..815c5b2b9f57 100644 --- a/arch/x86/include/asm/i387.h +++ b/arch/x86/include/asm/i387.h | |||
@@ -482,6 +482,8 @@ static inline void fpu_copy(struct fpu *dst, struct fpu *src) | |||
482 | memcpy(dst->state, src->state, xstate_size); | 482 | memcpy(dst->state, src->state, xstate_size); |
483 | } | 483 | } |
484 | 484 | ||
485 | extern void fpu_finit(struct fpu *fpu); | ||
486 | |||
485 | #endif /* __ASSEMBLY__ */ | 487 | #endif /* __ASSEMBLY__ */ |
486 | 488 | ||
487 | #define PSHUFB_XMM5_XMM0 .byte 0x66, 0x0f, 0x38, 0x00, 0xc5 | 489 | #define PSHUFB_XMM5_XMM0 .byte 0x66, 0x0f, 0x38, 0x00, 0xc5 |