[v2,5/5] powerpc/sparse: Make ppc_md.{halt, restart} __noreturn

Michael Ellerman mpe at ellerman.id.au
Fri Jul 15 20:53:41 AEST 2016


On Tue, 2016-12-07 at 00:54:52 UTC, Daniel Axtens wrote:
> PowerNV marks it's halt and restart calls as __noreturn. However,
> ppc_md does not have this annotation. Add the annotation to ppc_md,
> and then to every halt/restart function that is missing it.
> 
> Additionally, I have verified that all of these functions do not
> return. Occasionally I have added a spin loop to be sure.
> 
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/95ec77c06e8e63fff50c497eca

cheers


More information about the Linuxppc-dev mailing list