diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-03-26 16:12:12 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-04-02 12:45:27 +0200 |
commit | 43d5430ad74ef5156353af7aec352426ec7a8e57 (patch) | |
tree | 5ae512d57b4bb1535cc106c4e68e35ddd58d3085 /tools/objtool/include/objtool/check.h | |
parent | 2f2f7e47f0525cbaad5dd9675fd9d8aa8da12046 (diff) |
objtool: Keep track of retpoline call sites
Provide infrastructure for architectures to rewrite/augment compiler
generated retpoline calls. Similar to what we do for static_call()s,
keep track of the instructions that are retpoline calls.
Use the same list_head, since a retpoline call cannot also be a
static_call.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/20210326151300.130805730@infradead.org
Diffstat (limited to 'tools/objtool/include/objtool/check.h')
-rw-r--r-- | tools/objtool/include/objtool/check.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/include/objtool/check.h b/tools/objtool/include/objtool/check.h index f5be798107bc..e5528ce3961a 100644 --- a/tools/objtool/include/objtool/check.h +++ b/tools/objtool/include/objtool/check.h @@ -39,7 +39,7 @@ struct alt_group { struct instruction { struct list_head list; struct hlist_node hash; - struct list_head static_call_node; + struct list_head call_node; struct list_head mcount_loc_node; struct section *sec; unsigned long offset; |