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
262262 objtool-args-$(CONFIG_HAVE_OBJTOOL_NOP_MCOUNT) += --mnop
263263 endif
264264 objtool-args-$(CONFIG_UNWINDER_ORC) += --orc
265−objtool-args-$(CONFIG_RETPOLINE) += --retpoline
265+objtool-args-$(CONFIG_MITIGATION_RETPOLINE) += --retpoline
266266 objtool-args-$(CONFIG_RETHUNK) += --rethunk
267267 objtool-args-$(CONFIG_SLS) += --sls
268268 objtool-args-$(CONFIG_STACK_VALIDATION) += --stackval
scripts/generate_rust_target.rs+1−1
@@ -155,7 +155,7 @@ fn main() { · 154 unmodified lines
155155 "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
156156 );
157157 let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string();
158− if cfg.has("RETPOLINE") {
158+ if cfg.has("MITIGATION_RETPOLINE") {
159159 features += ",+retpoline-external-thunk";
160160 }
161161 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
18431843
18441844 buf_printf(b,
18451845 "\n"
1846− "#ifdef CONFIG_RETPOLINE\n"
1846+ "#ifdef CONFIG_MITIGATION_RETPOLINE\n"
18471847 "MODULE_INFO(retpoline, \"Y\");\n"
18481848 "#endif\n");
18491849

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