aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/x86.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index edf2a07df3a3..666526a55c46 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -7080,7 +7080,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm)
7080 kfree(rcu_dereference_check(kvm->arch.apic_map, 1)); 7080 kfree(rcu_dereference_check(kvm->arch.apic_map, 1));
7081} 7081}
7082 7082
7083void kvm_arch_free_memslot(struct kvm_memory_slot *free, 7083void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free,
7084 struct kvm_memory_slot *dont) 7084 struct kvm_memory_slot *dont)
7085{ 7085{
7086 int i; 7086 int i;
@@ -7101,7 +7101,8 @@ void kvm_arch_free_memslot(struct kvm_memory_slot *free,
7101 } 7101 }
7102} 7102}
7103 7103
7104int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) 7104int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
7105 unsigned long npages)
7105{ 7106{
7106 int i; 7107 int i;
7107 7108