summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorMasahiro Yamada2017-02-27 23:28:47 +0100
committerLinus Torvalds2017-02-28 03:43:46 +0100
commit9332ef9dbd172d4ab0a0141df7cb21c696a5ce96 (patch)
treef358b4a02c534b4144379ace4e99f9429cf4dd68 /arch/x86/kvm/mmu.c
parentscripts/spelling.txt: add "swithc" pattern and fix typo instances (diff)
downloadkernel-qcow2-linux-9332ef9dbd172d4ab0a0141df7cb21c696a5ce96.tar.gz
kernel-qcow2-linux-9332ef9dbd172d4ab0a0141df7cb21c696a5ce96.tar.xz
kernel-qcow2-linux-9332ef9dbd172d4ab0a0141df7cb21c696a5ce96.zip
scripts/spelling.txt: add "an user" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: an user||a user an userspace||a userspace I also added "userspace" to the list since it is a common word in Linux. I found some instances for "an userfaultfd", but I did not add it to the list. I felt it is endless to find words that start with "user" such as "userland" etc., so must draw a line somewhere. Link: http://lkml.kernel.org/r/1481573103-11329-4-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 2fd7586aad4d..1cda35277278 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -4102,7 +4102,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu,
* as a SMAP violation if all of the following
* conditions are ture:
* - X86_CR4_SMAP is set in CR4
- * - An user page is accessed
+ * - A user page is accessed
* - Page fault in kernel mode
* - if CPL = 3 or X86_EFLAGS_AC is clear
*