diff options
author | Peng Hao <peng.hao2@zte.com.cn> | 2018-10-04 11:45:00 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-17 00:30:10 +0200 |
commit | 39337ad1a783b8f2d3a708d62dc094dc5d8c9f29 (patch) | |
tree | df2fbb11f06dd0b81e48270875bbee8fa86878f3 /arch/x86/kvm | |
parent | a5c214dad1985092bd21c38c2a78befed9b02294 (diff) | |
download | blackbird-obmc-linux-39337ad1a783b8f2d3a708d62dc094dc5d8c9f29.tar.gz blackbird-obmc-linux-39337ad1a783b8f2d3a708d62dc094dc5d8c9f29.zip |
kvm/x86 : fix some typo
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index c73d9f650de7..dc60fcddcf96 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -4563,7 +4563,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu, * SMAP:kernel-mode data accesses from user-mode * mappings should fault. A fault is considered * as a SMAP violation if all of the following - * conditions are ture: + * conditions are true: * - X86_CR4_SMAP is set in CR4 * - A user page is accessed * - The access is not a fetch @@ -5978,7 +5978,7 @@ out: } /* - * Caculate mmu pages needed for kvm. + * Calculate mmu pages needed for kvm. */ unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm) { |