Commit 80fbd280 authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

KVM: x86: Unexport x86_fpu_cache and make it static

Make x86_fpu_cache static now that FPU allocation and destruction is
handled entirely by common x86 code.
Signed-off-by: default avatarSean Christopherson <>
Message-Id: <>
Signed-off-by: default avatarPaolo Bonzini <>
parent 20670285
......@@ -1306,7 +1306,6 @@ struct kvm_arch_async_pf {
extern u64 __read_mostly host_efer;
extern struct kvm_x86_ops kvm_x86_ops;
extern struct kmem_cache *x86_fpu_cache;
static inline struct kvm *kvm_arch_alloc_vm(void)
......@@ -239,8 +239,7 @@ u64 __read_mostly host_xcr0;
u64 __read_mostly supported_xcr0;
struct kmem_cache *x86_fpu_cache;
static struct kmem_cache *x86_fpu_cache;
static struct kmem_cache *x86_emulator_cache;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment