Commit 9e57f049 authored by Josh Poimboeuf's avatar Josh Poimboeuf

mips/cpu: Mark play_dead() __noreturn

play_dead() doesn't return.  Annotate it as such.  By extension this
also makes arch_cpu_idle_dead() noreturn.
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.orgSigned-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
parent a80ceed6
...@@ -88,7 +88,7 @@ static inline void __cpu_die(unsigned int cpu) ...@@ -88,7 +88,7 @@ static inline void __cpu_die(unsigned int cpu)
mp_ops->cpu_die(cpu); mp_ops->cpu_die(cpu);
} }
extern void play_dead(void); extern void __noreturn play_dead(void);
#endif #endif
#ifdef CONFIG_KEXEC #ifdef CONFIG_KEXEC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment