[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <167848169199.5837.7685473363893004243.tip-bot2@tip-bot2>
Date: Fri, 10 Mar 2023 20:54:51 -0000
From: "tip-bot2 for Josh Poimboeuf" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>, philmd@...aro.org,
Josh Poimboeuf <jpoimboe@...nel.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: objtool/core] mips/cpu: Mark play_dead() __noreturn
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: 9e57f049d1571db1dc77c69c87403defc9d3e5ae
Gitweb: https://git.kernel.org/tip/9e57f049d1571db1dc77c69c87403defc9d3e5ae
Author: Josh Poimboeuf <jpoimboe@...nel.org>
AuthorDate: Mon, 13 Feb 2023 23:05:45 -08:00
Committer: Josh Poimboeuf <jpoimboe@...nel.org>
CommitterDate: Wed, 08 Mar 2023 08:44:23 -08:00
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@...il.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@...aro.org>
Link: https://lore.kernel.org/r/2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
---
arch/mips/include/asm/smp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h
index 5d9ff61..4eee29b 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
Powered by blists - more mailing lists