public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] objtool: Re-add resume_play_dead() to noreturn list
@ 2025-10-27 16:39 Thorsten Blum
  2025-10-27 20:37 ` Josh Poimboeuf
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Blum @ 2025-10-27 16:39 UTC (permalink / raw)
  To: Josh Poimboeuf, Peter Zijlstra, Miroslav Benes
  Cc: Thorsten Blum, linux-kernel

resume_play_dead() was added to the noreturn list in commit 52668badd34b
("x86/cpu: Mark {hlt,resume}_play_dead() __noreturn"), but was dropped
in commit 6245ce4ab670 ("objtool: Move noreturn function list to
separate file") when the list was moved to noreturns.h.

Fix this by adding resume_play_dead() to the list again.

Fixes: 6245ce4ab670 ("objtool: Move noreturn function list to separate file")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 tools/objtool/noreturns.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/objtool/noreturns.h b/tools/objtool/noreturns.h
index 14f8ab653449..e63d85968f83 100644
--- a/tools/objtool/noreturns.h
+++ b/tools/objtool/noreturns.h
@@ -42,6 +42,7 @@ NORETURN(panic)
 NORETURN(vpanic)
 NORETURN(panic_smp_self_stop)
 NORETURN(rest_init)
+NORETURN(resume_play_dead)
 NORETURN(rewind_stack_and_make_dead)
 NORETURN(rust_begin_unwind)
 NORETURN(rust_helper_BUG)
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-27 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 16:39 [PATCH] objtool: Re-add resume_play_dead() to noreturn list Thorsten Blum
2025-10-27 20:37 ` Josh Poimboeuf
2025-10-27 21:33   ` Thorsten Blum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox