diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 6d16fc530246..07c127fc2064 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -7091,7 +7091,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm) | |||
7091 | kfree(rcu_dereference_check(kvm->arch.apic_map, 1)); | 7091 | kfree(rcu_dereference_check(kvm->arch.apic_map, 1)); |
7092 | } | 7092 | } |
7093 | 7093 | ||
7094 | void kvm_arch_free_memslot(struct kvm_memory_slot *free, | 7094 | void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, |
7095 | struct kvm_memory_slot *dont) | 7095 | struct kvm_memory_slot *dont) |
7096 | { | 7096 | { |
7097 | int i; | 7097 | int i; |
@@ -7112,7 +7112,8 @@ void kvm_arch_free_memslot(struct kvm_memory_slot *free, | |||
7112 | } | 7112 | } |
7113 | } | 7113 | } |
7114 | 7114 | ||
7115 | int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) | 7115 | int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, |
7116 | unsigned long npages) | ||
7116 | { | 7117 | { |
7117 | int i; | 7118 | int i; |
7118 | 7119 | ||