]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:29:21 +0000 (15:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jul 2022 09:26:52 +0000 (11:26 +0200)
commit95d89ec7dba56f7974aeda2beace2112df9f1418
tree23818c7c5888f47f7c0b33818fc2801c0dd70068
parent668cb1ddf0ae7fcffcfc2ac1cfec9f770c8191fc
x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub

commit 18660698a3d30868524cefb60dcd4e0e297f71bb upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/ftrace_64.S