summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-02-14 08:05:50 +0100
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-03-08 17:44:25 +0100
commitb9952d5009440b01dedd793a57abbe6cfe10f995 (patch)
treed42e9feb6d03ad0e9ec03f7f46b8258e836aef6a /arch/sparc
parentsh/cpu: Expose arch_cpu_idle_dead()'s prototype definition (diff)
downloadlinux-b9952d5009440b01dedd793a57abbe6cfe10f995.tar.xz
linux-b9952d5009440b01dedd793a57abbe6cfe10f995.zip
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@linaro.org> Link: https://lore.kernel.org/r/847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/smp_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/smp_64.h b/arch/sparc/include/asm/smp_64.h
index e75783b6abc4..505b6700805d 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);