diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-08 16:30:48 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-15 10:32:43 +0100 |
commit | eae654f1c21216daa9fbb92591c0d9f5ae46cfc5 (patch) | |
tree | 04170c1b00dcd294309fcfe44bce02c49ee4bf6a /tools/objtool | |
parent | f9cdf7ca57cada055f61ef6d0eb4db21c3f200db (diff) | |
download | linux-eae654f1c21216daa9fbb92591c0d9f5ae46cfc5.tar.gz linux-eae654f1c21216daa9fbb92591c0d9f5ae46cfc5.tar.bz2 linux-eae654f1c21216daa9fbb92591c0d9f5ae46cfc5.zip |
exit: Mark do_group_exit() __noreturn
vmlinux.o: warning: objtool: get_signal()+0x108: unreachable instruction
0000 000000000007f930 <get_signal>:
...
0103 7fa33: e8 00 00 00 00 call 7fa38 <get_signal+0x108> 7fa34: R_X86_64_PLT32 do_group_exit-0x4
0108 7fa38: 41 8b 45 74 mov 0x74(%r13),%eax
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154319.351270711@infradead.org
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index c3ddcecdab57..9896562350a8 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -181,6 +181,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func, "kunit_try_catch_throw", "xen_start_kernel", "cpu_bringup_and_idle", + "do_group_exit", "stop_this_cpu", }; |