Skip to content

Commit 30ba72a

Browse files
committed
x86/speculataion: Mark command line parser data __initdata
No point to keep that around. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Tim Chen <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Casey Schaufler <[email protected]> Cc: Asit Mallick <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Jon Masters <[email protected]> Cc: Waiman Long <[email protected]> Cc: Greg KH <[email protected]> Cc: Dave Stewart <[email protected]> Cc: Kees Cook <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 8770709 commit 30ba72a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kernel/cpu/bugs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static const struct {
248248
const char *option;
249249
enum spectre_v2_mitigation_cmd cmd;
250250
bool secure;
251-
} mitigation_options[] = {
251+
} mitigation_options[] __initdata = {
252252
{ "off", SPECTRE_V2_CMD_NONE, false },
253253
{ "on", SPECTRE_V2_CMD_FORCE, true },
254254
{ "retpoline", SPECTRE_V2_CMD_RETPOLINE, false },
@@ -486,7 +486,7 @@ static const char * const ssb_strings[] = {
486486
static const struct {
487487
const char *option;
488488
enum ssb_mitigation_cmd cmd;
489-
} ssb_mitigation_options[] = {
489+
} ssb_mitigation_options[] __initdata = {
490490
{ "auto", SPEC_STORE_BYPASS_CMD_AUTO }, /* Platform decides */
491491
{ "on", SPEC_STORE_BYPASS_CMD_ON }, /* Disable Speculative Store Bypass */
492492
{ "off", SPEC_STORE_BYPASS_CMD_NONE }, /* Don't touch Speculative Store Bypass */

0 commit comments

Comments
 (0)