Skip to content

Commit 39337ad

Browse files
Peng Haobonzini
authored andcommitted
kvm/x86 : fix some typo
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent a5c214d commit 39337ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kvm/mmu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4563,7 +4563,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu,
45634563
* SMAP:kernel-mode data accesses from user-mode
45644564
* mappings should fault. A fault is considered
45654565
* as a SMAP violation if all of the following
4566-
* conditions are ture:
4566+
* conditions are true:
45674567
* - X86_CR4_SMAP is set in CR4
45684568
* - A user page is accessed
45694569
* - The access is not a fetch
@@ -5978,7 +5978,7 @@ int kvm_mmu_module_init(void)
59785978
}
59795979

59805980
/*
5981-
* Caculate mmu pages needed for kvm.
5981+
* Calculate mmu pages needed for kvm.
59825982
*/
59835983
unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm)
59845984
{

0 commit comments

Comments
 (0)