提交 d40ccc62 编写于 作者: H Hollis Blanchard 提交者: Avi Kivity

KVM: Correct consistent typo: "destory" -> "destroy"

Signed-off-by: NHollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 00fc9f5a
...@@ -461,7 +461,7 @@ void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu); ...@@ -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_load(struct kvm_vcpu *vcpu, int cpu);
void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu);
struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id); 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); int kvm_arch_vcpu_reset(struct kvm_vcpu *vcpu);
void kvm_arch_hardware_enable(void *garbage); void kvm_arch_hardware_enable(void *garbage);
......
...@@ -824,7 +824,7 @@ static int kvm_vm_ioctl_create_vcpu(struct kvm *kvm, int n) ...@@ -824,7 +824,7 @@ static int kvm_vm_ioctl_create_vcpu(struct kvm *kvm, int n)
kvm->vcpus[n] = NULL; kvm->vcpus[n] = NULL;
mutex_unlock(&kvm->lock); mutex_unlock(&kvm->lock);
vcpu_destroy: vcpu_destroy:
kvm_arch_vcpu_destory(vcpu); kvm_arch_vcpu_destroy(vcpu);
return r; return r;
} }
......
...@@ -2513,7 +2513,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, ...@@ -2513,7 +2513,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
return ERR_PTR(r); 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); vcpu_load(vcpu);
kvm_mmu_unload(vcpu); kvm_mmu_unload(vcpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册