mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200608180218.20946-1-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2067028512
commit
80fbd280be
2 changed files with 1 additions and 3 deletions
|
@ -1306,7 +1306,6 @@ struct kvm_arch_async_pf {
|
||||||
extern u64 __read_mostly host_efer;
|
extern u64 __read_mostly host_efer;
|
||||||
|
|
||||||
extern struct kvm_x86_ops kvm_x86_ops;
|
extern struct kvm_x86_ops kvm_x86_ops;
|
||||||
extern struct kmem_cache *x86_fpu_cache;
|
|
||||||
|
|
||||||
#define __KVM_HAVE_ARCH_VM_ALLOC
|
#define __KVM_HAVE_ARCH_VM_ALLOC
|
||||||
static inline struct kvm *kvm_arch_alloc_vm(void)
|
static inline struct kvm *kvm_arch_alloc_vm(void)
|
||||||
|
|
|
@ -239,8 +239,7 @@ u64 __read_mostly host_xcr0;
|
||||||
u64 __read_mostly supported_xcr0;
|
u64 __read_mostly supported_xcr0;
|
||||||
EXPORT_SYMBOL_GPL(supported_xcr0);
|
EXPORT_SYMBOL_GPL(supported_xcr0);
|
||||||
|
|
||||||
struct kmem_cache *x86_fpu_cache;
|
static struct kmem_cache *x86_fpu_cache;
|
||||||
EXPORT_SYMBOL_GPL(x86_fpu_cache);
|
|
||||||
|
|
||||||
static struct kmem_cache *x86_emulator_cache;
|
static struct kmem_cache *x86_emulator_cache;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue