summaryrefslogtreecommitdiffstats
path: root/tools/objtool
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-04-18 23:27:52 +0200
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-05-16 15:31:54 +0200
commit34245659debd194cbd4148d2ee5176306bdf8899 (patch)
treedf17572c32c5dc4874642cf3ee1358ee978a7a13 /tools/objtool
parentobjtool: Ignore exc_double_fault() __noreturn warnings (diff)
downloadlinux-34245659debd194cbd4148d2ee5176306bdf8899.tar.xz
linux-34245659debd194cbd4148d2ee5176306bdf8899.zip
objtool: Remove superfluous global_noreturns entries
lbug_with_loc() no longer exists, and resume_play_dead() is static (objtool only checks globals and weaks). Reviewed-by: Miroslav Benes <mbenes@suse.cz> Link: https://lore.kernel.org/r/2725d7f2ccc2361c6903de9ebaa2b5bb304f7ac2.1681853186.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool')
-rw-r--r--tools/objtool/check.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 8dac1e35264e..8c2762de7ae3 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -217,7 +217,6 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
"kthread_complete_and_exit",
"kthread_exit",
"kunit_try_catch_throw",
- "lbug_with_loc",
"machine_real_restart",
"make_task_dead",
"mpt_halt_firmware",
@@ -225,7 +224,6 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
"panic",
"panic_smp_self_stop",
"rest_init",
- "resume_play_dead",
"rewind_stack_and_make_dead",
"sev_es_terminate",
"snp_abort",