aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-02-27 08:31:30 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-27 08:31:30 -0800
commit840d2830e6e56b8fdacc7ff12915dd91bf91566b (patch)
tree375b07461b0871ed27c34df738cae389f49478c8 /arch/x86/kernel/cpu/common.c
parentx86: Add support for the clflushopt instruction (diff)
downloadlinux-dev-840d2830e6e56b8fdacc7ff12915dd91bf91566b.tar.xz
linux-dev-840d2830e6e56b8fdacc7ff12915dd91bf91566b.zip
x86, cpufeature: Rename X86_FEATURE_CLFLSH to X86_FEATURE_CLFLUSH
We call this "clflush" in /proc/cpuinfo, and have cpu_has_clflush()... let's be consistent and just call it that. Cc: Gleb Natapov <gleb@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Alan Cox <alan@linux.intel.com> Link: http://lkml.kernel.org/n/tip-mlytfzjkvuf739okyn40p8a5@git.kernel.org
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 8e28bf2fc3ef..2c6ac6f2b5b1 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1025,7 +1025,7 @@ __setup("show_msr=", setup_show_msr);
static __init int setup_noclflush(char *arg)
{
- setup_clear_cpu_cap(X86_FEATURE_CLFLSH);
+ setup_clear_cpu_cap(X86_FEATURE_CLFLUSH);
return 1;
}
__setup("noclflush", setup_noclflush);