]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
x86, pageattr: Correct WBINVD spelling in comment
authorBorislav Petkov <bp@suse.de>
Wed, 12 Mar 2014 14:13:04 +0000 (15:13 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 13 Mar 2014 22:32:45 +0000 (15:32 -0700)
It is WBINVD, for INValiDate and not "wbindv". Use caps for instruction
names, while at it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1394633584-5509-4-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/pageattr.c

index b3b19f46c0164c7169c9259a68836afbaeae1943..ba957c9b677ce177c19b47702acb2e2bdb70ba49 100644 (file)
@@ -1377,10 +1377,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages,
        cache = cache_attr(mask_set);
 
        /*
-        * On success we use clflush, when the CPU supports it to
-        * avoid the wbindv. If the CPU does not support it and in the
+        * On success we use CLFLUSH, when the CPU supports it to
+        * avoid the WBINVD. If the CPU does not support it and in the
         * error case we fall back to cpa_flush_all (which uses
-        * wbindv):
+        * WBINVD):
         */
        if (!ret && cpu_has_clflush) {
                if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) {