summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2019-12-11 14:26:22 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-21 13:57:32 +0100
commit67b0ae43df179fb095f32a011446e7a883758877 (patch)
treeb1784bce5b040e427ef01915f83efbd14bc0e283 /arch/x86/kvm/lapic.c
parent4d516fe7d38555e8fa08de5d68168b011a144fcb (diff)
downloadlinux-67b0ae43df179fb095f32a011446e7a883758877.tar.bz2
KVM: Fix some comment typos and missing parentheses
Fix some typos and add missing parentheses in the comments. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 679692b55f6d..ea402e741bd5 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -969,7 +969,7 @@ bool kvm_irq_delivery_to_apic_fast(struct kvm *kvm, struct kvm_lapic *src,
* - For single-destination interrupts, handle it in posted mode
* - Else if vector hashing is enabled and it is a lowest-priority
* interrupt, handle it in posted mode and use the following mechanism
- * to find the destinaiton vCPU.
+ * to find the destination vCPU.
* 1. For lowest-priority interrupts, store all the possible
* destination vCPUs in an array.
* 2. Use "guest vector % max number of destination vCPUs" to find