KVM: Correct consistent typo: "destory" -> "destroy"
authorHollis Blanchard <hollisb@us.ibm.com>
Mon, 19 Nov 2007 20:04:43 +0000 (14:04 -0600)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:07 +0000 (17:53 +0200)
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/x86.c

index ba78a45811cde4a715fed5f7d8b7fac4f4042089..ccba9584355c548f76c800bdea6a89f83a4ac50d 100644 (file)
@@ -461,7 +461,7 @@ void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu);
 void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu);
 void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu);
 struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id);
-void kvm_arch_vcpu_destory(struct kvm_vcpu *vcpu);
+void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu);
 
 int kvm_arch_vcpu_reset(struct kvm_vcpu *vcpu);
 void kvm_arch_hardware_enable(void *garbage);
index e83a178dc80f4bc9d17005eb52da2a6cc11fef71..4e1bd948847038e4483def237d5b5abefc8c4538 100644 (file)
@@ -824,7 +824,7 @@ unlink:
        kvm->vcpus[n] = NULL;
        mutex_unlock(&kvm->lock);
 vcpu_destroy:
-       kvm_arch_vcpu_destory(vcpu);
+       kvm_arch_vcpu_destroy(vcpu);
        return r;
 }
 
index 2257a0aab32ffca3dbf41bbd4ac925d08a0ea618..5a1b72fbaeaa5ff4153c3430cca09197da32e37b 100644 (file)
@@ -2513,7 +2513,7 @@ fail:
        return ERR_PTR(r);
 }
 
-void kvm_arch_vcpu_destory(struct kvm_vcpu *vcpu)
+void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu)
 {
        vcpu_load(vcpu);
        kvm_mmu_unload(vcpu);