projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a80ceed
)
mips/cpu: Mark play_dead() __noreturn
author
Josh Poimboeuf
<jpoimboe@kernel.org>
Tue, 14 Feb 2023 07:05:45 +0000
(23:05 -0800)
committer
Josh Poimboeuf
<jpoimboe@kernel.org>
Wed, 8 Mar 2023 16:44:23 +0000
(08:44 -0800)
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>
arch/mips/include/asm/smp.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/smp.h
b/arch/mips/include/asm/smp.h
index
5d9ff61
..
4eee29b
100644
(file)
--- 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