diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 12:41:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 12:41:22 -0400 |
commit | 35cb8d9e18c0bb33b90d7e574abadbe23b65427d (patch) | |
tree | 7bf2ce00ce1203a54ad5ace4f707a10f4fe0b14b /arch/x86/kvm | |
parent | 02c502566ef505d0469fa27567f48766c1f5f7af (diff) | |
parent | 1361b83a13d4d92e53fbb6c877528713e118b821 (diff) |
Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86/fpu changes from Ingo Molnar.
* 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
i387: Split up <asm/i387.h> into exported and internal interfaces
i387: Uninline the generic FP helpers that we expose to kernel modules
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 | ||||
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 3b4c8d8ad906..246490f643b6 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -1457,7 +1457,7 @@ static void __vmx_load_host_state(struct vcpu_vmx *vmx) | |||
1457 | #ifdef CONFIG_X86_64 | 1457 | #ifdef CONFIG_X86_64 |
1458 | wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_host_kernel_gs_base); | 1458 | wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_host_kernel_gs_base); |
1459 | #endif | 1459 | #endif |
1460 | if (__thread_has_fpu(current)) | 1460 | if (user_has_fpu()) |
1461 | clts(); | 1461 | clts(); |
1462 | load_gdt(&__get_cpu_var(host_gdt)); | 1462 | load_gdt(&__get_cpu_var(host_gdt)); |
1463 | } | 1463 | } |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index bb4fd2636bc2..54696b5f8443 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -57,6 +57,7 @@ | |||
57 | #include <asm/mtrr.h> | 57 | #include <asm/mtrr.h> |
58 | #include <asm/mce.h> | 58 | #include <asm/mce.h> |
59 | #include <asm/i387.h> | 59 | #include <asm/i387.h> |
60 | #include <asm/fpu-internal.h> /* Ugh! */ | ||
60 | #include <asm/xcr.h> | 61 | #include <asm/xcr.h> |
61 | #include <asm/pvclock.h> | 62 | #include <asm/pvclock.h> |
62 | #include <asm/div64.h> | 63 | #include <asm/div64.h> |