diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-02-13 23:05:45 -0800 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-03-08 08:44:23 -0800 |
commit | 9e57f049d1571db1dc77c69c87403defc9d3e5ae (patch) | |
tree | af1be037477c827160cb17f574ae1db2312265d7 /arch/mips/include | |
parent | a80ceed6c9c24088d7a2e3c414eae1fe88a8ccbe (diff) | |
download | lwn-9e57f049d1571db1dc77c69c87403defc9d3e5ae.tar.gz lwn-9e57f049d1571db1dc77c69c87403defc9d3e5ae.zip |
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: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h index 5d9ff61004ca..4eee29b7845c 100644 --- a/arch/mips/include/asm/smp.h +++ b/arch/mips/include/asm/smp.h @@ -88,7 +88,7 @@ static inline void __cpu_die(unsigned int cpu) mp_ops->cpu_die(cpu); } -extern void play_dead(void); +extern void __noreturn play_dead(void); #endif #ifdef CONFIG_KEXEC |