Re: [PATCH v2.1 04/24] arm64/cpu: Mark cpu_die() __noreturn

From
Philippe Mathieu-Daudé <hidden>
Date
2023-03-02 10:56:09
Also in
linux-alpha, linux-arm-kernel, linux-mips, linux-sh, lkml, loongarch, sparclinux
Reply to
Josh Poimboeuf, 2023-02-16
On 16/2/23 19:41, Josh Poimboeuf wrote:
cpu_die() doesn't return.  Annotate it as such.  By extension this also
makes arch_cpu_idle_dead() noreturn.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
---
  arch/arm64/include/asm/smp.h | 2 +-
  arch/arm64/kernel/smp.c      | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <redacted>
Thread (58 messages) 58 messages, 8 authors, last reply 2023-03-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help