aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/bugs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index 2da82eff0eb4..b91b3bfa5cfb 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -275,7 +275,7 @@ static const struct {
275 const char *option; 275 const char *option;
276 enum spectre_v2_user_cmd cmd; 276 enum spectre_v2_user_cmd cmd;
277 bool secure; 277 bool secure;
278} v2_user_options[] __initdata = { 278} v2_user_options[] __initconst = {
279 { "auto", SPECTRE_V2_USER_CMD_AUTO, false }, 279 { "auto", SPECTRE_V2_USER_CMD_AUTO, false },
280 { "off", SPECTRE_V2_USER_CMD_NONE, false }, 280 { "off", SPECTRE_V2_USER_CMD_NONE, false },
281 { "on", SPECTRE_V2_USER_CMD_FORCE, true }, 281 { "on", SPECTRE_V2_USER_CMD_FORCE, true },
@@ -419,7 +419,7 @@ static const struct {
419 const char *option; 419 const char *option;
420 enum spectre_v2_mitigation_cmd cmd; 420 enum spectre_v2_mitigation_cmd cmd;
421 bool secure; 421 bool secure;
422} mitigation_options[] __initdata = { 422} mitigation_options[] __initconst = {
423 { "off", SPECTRE_V2_CMD_NONE, false }, 423 { "off", SPECTRE_V2_CMD_NONE, false },
424 { "on", SPECTRE_V2_CMD_FORCE, true }, 424 { "on", SPECTRE_V2_CMD_FORCE, true },
425 { "retpoline", SPECTRE_V2_CMD_RETPOLINE, false }, 425 { "retpoline", SPECTRE_V2_CMD_RETPOLINE, false },
@@ -658,7 +658,7 @@ static const char * const ssb_strings[] = {
658static const struct { 658static const struct {
659 const char *option; 659 const char *option;
660 enum ssb_mitigation_cmd cmd; 660 enum ssb_mitigation_cmd cmd;
661} ssb_mitigation_options[] __initdata = { 661} ssb_mitigation_options[] __initconst = {
662 { "auto", SPEC_STORE_BYPASS_CMD_AUTO }, /* Platform decides */ 662 { "auto", SPEC_STORE_BYPASS_CMD_AUTO }, /* Platform decides */
663 { "on", SPEC_STORE_BYPASS_CMD_ON }, /* Disable Speculative Store Bypass */ 663 { "on", SPEC_STORE_BYPASS_CMD_ON }, /* Disable Speculative Store Bypass */
664 { "off", SPEC_STORE_BYPASS_CMD_NONE }, /* Don't touch Speculative Store Bypass */ 664 { "off", SPEC_STORE_BYPASS_CMD_NONE }, /* Don't touch Speculative Store Bypass */