Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh/cpu: Mark play_dead() __noreturn

play_dead() doesn't return. Annotate it as such. By extension this
also makes arch_cpu_idle_dead() noreturn.

Link: https://lore.kernel.org/r/03549a74fad9f73576d57e6fc0b5102322f9cff4.1676358308.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

+2 -2
+2 -2
arch/sh/include/asm/smp-ops.h
··· 24 24 mp_ops->smp_setup(); 25 25 } 26 26 27 - static inline void play_dead(void) 27 + static inline void __noreturn play_dead(void) 28 28 { 29 29 mp_ops->play_dead(); 30 30 BUG(); ··· 43 43 { 44 44 } 45 45 46 - static inline void play_dead(void) 46 + static inline void __noreturn play_dead(void) 47 47 { 48 48 BUG(); 49 49 }