Commit b82ad3d3 authored by Borislav Petkov's avatar Borislav Petkov Committed by H. Peter Anvin

x86, pageattr: Correct WBINVD spelling in comment

It is WBINVD, for INValiDate and not "wbindv". Use caps for instruction
names, while at it.
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1394633584-5509-4-git-send-email-bp@alien8.deSigned-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 5314feeb
...@@ -1377,10 +1377,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages, ...@@ -1377,10 +1377,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages,
cache = cache_attr(mask_set); cache = cache_attr(mask_set);
/* /*
* On success we use clflush, when the CPU supports it to * On success we use CLFLUSH, when the CPU supports it to
* avoid the wbindv. If the CPU does not support it and in the * avoid the WBINVD. If the CPU does not support it and in the
* error case we fall back to cpa_flush_all (which uses * error case we fall back to cpa_flush_all (which uses
* wbindv): * WBINVD):
*/ */
if (!ret && cpu_has_clflush) { if (!ret && cpu_has_clflush) {
if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) { if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment