# Re: \[PATCH v2 00/24\] cpu,sched: Mark arch\_cpu\_idle\_dead() \_\_noreturn

- From: Josh Poimboeuf \<jpoimboe@kernel.org\>
- Date: 2023-02-14 18:30:04 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/02/2102098
- Thread: https://ratatoskr.run/linux-alpha/2023/02/2102098/t.md

```text
On Tue, Feb 14, 2023 at 10:25:50AM +0100, Philippe Mathieu-Daudé wrote:
> On 14/2/23 08:05, Josh Poimboeuf wrote:
> > v2:
> > - make arch_call_rest_init() and rest_init() __noreturn
> > - make objtool 'global_returns' work for weak functions
> > - rebase on tip/objtool/core with dependencies merged in (mingo)
> > - add acks
> > 
> > v1.1:
> > - add __noreturn to all arch_cpu_idle_dead() implementations (mpe)
> 
> Possible similar candidates: panic_smp_self_stop, nmi_panic_self_stop
> and kexec.

Agreed.  Any volunteers?

-- 
Josh
```
