diff options
-rw-r--r-- | drivers/kvm/kvm.h | 2 | ||||
-rw-r--r-- | drivers/kvm/kvm_main.c | 2 | ||||
-rw-r--r-- | drivers/kvm/x86.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index ba78a45811cd..ccba9584355c 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -461,7 +461,7 @@ void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu); | |||
461 | void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu); | 461 | void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu); |
462 | void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); | 462 | void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); |
463 | struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id); | 463 | struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id); |
464 | void kvm_arch_vcpu_destory(struct kvm_vcpu *vcpu); | 464 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu); |
465 | 465 | ||
466 | int kvm_arch_vcpu_reset(struct kvm_vcpu *vcpu); | 466 | int kvm_arch_vcpu_reset(struct kvm_vcpu *vcpu); |
467 | void kvm_arch_hardware_enable(void *garbage); | 467 | void kvm_arch_hardware_enable(void *garbage); |
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index e83a178dc80f..4e1bd9488470 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -824,7 +824,7 @@ unlink: | |||
824 | kvm->vcpus[n] = NULL; | 824 | kvm->vcpus[n] = NULL; |
825 | mutex_unlock(&kvm->lock); | 825 | mutex_unlock(&kvm->lock); |
826 | vcpu_destroy: | 826 | vcpu_destroy: |
827 | kvm_arch_vcpu_destory(vcpu); | 827 | kvm_arch_vcpu_destroy(vcpu); |
828 | return r; | 828 | return r; |
829 | } | 829 | } |
830 | 830 | ||
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 2257a0aab32f..5a1b72fbaeaa 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c | |||
@@ -2513,7 +2513,7 @@ fail: | |||
2513 | return ERR_PTR(r); | 2513 | return ERR_PTR(r); |
2514 | } | 2514 | } |
2515 | 2515 | ||
2516 | void kvm_arch_vcpu_destory(struct kvm_vcpu *vcpu) | 2516 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) |
2517 | { | 2517 | { |
2518 | vcpu_load(vcpu); | 2518 | vcpu_load(vcpu); |
2519 | kvm_mmu_unload(vcpu); | 2519 | kvm_mmu_unload(vcpu); |