History

x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE

Step 5/10 of the namespace unification of CPU mitigations related Kconfig options. [ mingo: Converted a few more uses in comments/messages as well. ]

Breno Leitao committed 2 years ago

Commit aefb2f21 parent ea4654e39 files · +62 −62Browse files

Showing the changes to scripts (3 of 39 files). Show all

Unified · Split

3 files
  1. scripts/Makefile.lib +1 −1
  2. scripts/generate_rust_target.rs +1 −1
  3. scripts/mod/modpost.c +1 −1
scripts/Makefile.lib+1−1
@@ -262,7 +262,7 @@ ifdef CONFIG_FTRACE_MCOUNT_USE_OBJTOOL · 261 unmodified lines
262objtool-args-$(CONFIG_HAVE_OBJTOOL_NOP_MCOUNT) += --mnop262objtool-args-$(CONFIG_HAVE_OBJTOOL_NOP_MCOUNT) += --mnop
263endif263endif
264objtool-args-$(CONFIG_UNWINDER_ORC) += --orc264objtool-args-$(CONFIG_UNWINDER_ORC) += --orc
265objtool-args-$(CONFIG_RETPOLINE) += --retpoline265objtool-args-$(CONFIG_MITIGATION_RETPOLINE) += --retpoline
266objtool-args-$(CONFIG_RETHUNK) += --rethunk266objtool-args-$(CONFIG_RETHUNK) += --rethunk
267objtool-args-$(CONFIG_SLS) += --sls267objtool-args-$(CONFIG_SLS) += --sls
268objtool-args-$(CONFIG_STACK_VALIDATION) += --stackval268objtool-args-$(CONFIG_STACK_VALIDATION) += --stackval
scripts/generate_rust_target.rs+1−1
@@ -155,7 +155,7 @@ fn main() { · 154 unmodified lines
155 "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",155 "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
156 );156 );
157 let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string();157 let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string();
158 if cfg.has("RETPOLINE") {158 if cfg.has("MITIGATION_RETPOLINE") {
159 features += ",+retpoline-external-thunk";159 features += ",+retpoline-external-thunk";
160 }160 }
161 ts.push("features", features);161 ts.push("features", features);
scripts/mod/modpost.c+1−1
@@ -1843,7 +1843,7 @@ static void add_header(struct buffer *b, struct module *mod) · 1842 unmodified lines
1843 1843
1844 buf_printf(b,1844 buf_printf(b,
1845 "\n"1845 "\n"
1846 "#ifdef CONFIG_RETPOLINE\n"1846 "#ifdef CONFIG_MITIGATION_RETPOLINE\n"
1847 "MODULE_INFO(retpoline, \"Y\");\n"1847 "MODULE_INFO(retpoline, \"Y\");\n"
1848 "#endif\n");1848 "#endif\n");
1849 1849

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t