aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Ramsauer <ralf.ramsauer@oth-regensburg.de>2018-03-07 11:07:34 -0500
committerThomas Gleixner <tglx@linutronix.de>2018-03-08 06:23:42 -0500
commit52586b089cc12d4878e56ee98a4d110fa801758a (patch)
tree13f9db334e85231ecaba5001c07f67bbf1fc1a9f
parent1b88accf6a659c46d5c8e68912896f112bf882bb (diff)
x86/cpuid: Switch to 'static const' specifier
This is the only spot where the 'const static' specifier is used; everywhere else 'static const' is preferred, as static should be the first specifier. This is just a cosmetic fix that aligns this, no functional change. Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@linux.intel.com> Cc: Gayatri Kammela <gayatri.kammela@intel.com> Link: https://lkml.kernel.org/r/20180307160734.6691-1-ralf.ramsauer@oth-regensburg.de
-rw-r--r--arch/x86/kernel/cpu/cpuid-deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpuid-deps.c b/arch/x86/kernel/cpu/cpuid-deps.c
index 904b0a3c4e53..2c0bd38a44ab 100644
--- a/arch/x86/kernel/cpu/cpuid-deps.c
+++ b/arch/x86/kernel/cpu/cpuid-deps.c
@@ -19,7 +19,7 @@ struct cpuid_dep {
19 * called from cpu hotplug. It shouldn't do anything in this case, 19 * called from cpu hotplug. It shouldn't do anything in this case,
20 * but it's difficult to tell that to the init reference checker. 20 * but it's difficult to tell that to the init reference checker.
21 */ 21 */
22const static struct cpuid_dep cpuid_deps[] = { 22static const struct cpuid_dep cpuid_deps[] = {
23 { X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE }, 23 { X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE },
24 { X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE }, 24 { X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE },
25 { X86_FEATURE_XSAVES, X86_FEATURE_XSAVE }, 25 { X86_FEATURE_XSAVES, X86_FEATURE_XSAVE },