[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <167848168986.5837.529760520352705249.tip-bot2@tip-bot2>
Date: Fri, 10 Mar 2023 20:54:49 -0000
From: "tip-bot2 for Josh Poimboeuf" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: philmd@...aro.org, Josh Poimboeuf <jpoimboe@...nel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: objtool/core] sparc/cpu: Mark cpu_play_dead() __noreturn
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: b9952d5009440b01dedd793a57abbe6cfe10f995
Gitweb: https://git.kernel.org/tip/b9952d5009440b01dedd793a57abbe6cfe10f995
Author: Josh Poimboeuf <jpoimboe@...nel.org>
AuthorDate: Mon, 13 Feb 2023 23:05:50 -08:00
Committer: Josh Poimboeuf <jpoimboe@...nel.org>
CommitterDate: Wed, 08 Mar 2023 08:44:25 -08:00
sparc/cpu: Mark cpu_play_dead() __noreturn
cpu_play_dead() doesn't return. Annotate it as such. By extension this
also makes arch_cpu_idle_dead() noreturn.
Reviewed-by: Philippe Mathieu-Daudé <philmd@...aro.org>
Link: https://lore.kernel.org/r/847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
---
arch/sparc/include/asm/smp_64.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc/include/asm/smp_64.h b/arch/sparc/include/asm/smp_64.h
index e75783b..505b670 100644
--- a/arch/sparc/include/asm/smp_64.h
+++ b/arch/sparc/include/asm/smp_64.h
@@ -49,7 +49,7 @@ int hard_smp_processor_id(void);
void smp_fill_in_cpu_possible_map(void);
void smp_fill_in_sib_core_maps(void);
-void cpu_play_dead(void);
+void __noreturn cpu_play_dead(void);
void smp_fetch_global_regs(void);
void smp_fetch_global_pmu(void);
Powered by blists - more mailing lists