diff options
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/pageattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index b3b19f46c016..ba957c9b677c 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
@@ -1377,10 +1377,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages, | |||
1377 | cache = cache_attr(mask_set); | 1377 | cache = cache_attr(mask_set); |
1378 | 1378 | ||
1379 | /* | 1379 | /* |
1380 | * On success we use clflush, when the CPU supports it to | 1380 | * On success we use CLFLUSH, when the CPU supports it to |
1381 | * avoid the wbindv. If the CPU does not support it and in the | 1381 | * avoid the WBINVD. If the CPU does not support it and in the |
1382 | * error case we fall back to cpa_flush_all (which uses | 1382 | * error case we fall back to cpa_flush_all (which uses |
1383 | * wbindv): | 1383 | * WBINVD): |
1384 | */ | 1384 | */ |
1385 | if (!ret && cpu_has_clflush) { | 1385 | if (!ret && cpu_has_clflush) { |
1386 | if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) { | 1386 | if (cpa.flags & (CPA_PAGES_ARRAY | CPA_ARRAY)) { |