From: Hollis Blanchard Date: Mon, 19 Nov 2007 20:04:43 +0000 (-0600) Subject: KVM: Correct consistent typo: "destory" -> "destroy" X-Git-Tag: v2.6.25-rc1~1138^2~122 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d40ccc6246ed19ca529043998942a6b450c0e498;p=linux-2.6-omap-h63xx.git KVM: Correct consistent typo: "destory" -> "destroy" Signed-off-by: Hollis Blanchard Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index ba78a45811c..ccba9584355 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -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); diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index e83a178dc80..4e1bd948847 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c @@ -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; } diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 2257a0aab32..5a1b72fbaea 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c @@ -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);