git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a7424
)
x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
author
Josh Poimboeuf
<jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:29:21 +0000
(15:29 -0600)
committer
Josh Poimboeuf
<jpoimboe@redhat.com>
Tue, 26 Jan 2021 17:11:59 +0000
(11:11 -0600)
Prevent an unreachable objtool warning after the sibling call detection
gets improved. ftrace_stub() is basically a function, annotate it as
such.
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link:
https://lore.kernel.org/r/6845e1b2fb0723a95740c6674e548ba38c5ea489.1611263461.git.jpoimboe@redhat.com
arch/x86/kernel/ftrace_64.S
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/ftrace_64.S
b/arch/x86/kernel/ftrace_64.S
index 0d54099c2a3a3156b4a18520091eb59966ef9cfe..58d125ed9d1a0f5ae56e86a299f845a8d5a95c5c 100644
(file)
--- a/
arch/x86/kernel/ftrace_64.S
+++ b/
arch/x86/kernel/ftrace_64.S
@@
-184,6
+184,7
@@
SYM_INNER_LABEL(ftrace_graph_call, SYM_L_GLOBAL)
* It is also used to copy the retq for trampolines.
*/
SYM_INNER_LABEL_ALIGN(ftrace_stub, SYM_L_WEAK)
+ UNWIND_HINT_FUNC
retq
SYM_FUNC_END(ftrace_epilogue)