mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 22:11:22 +07:00
95ec77c06e
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@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
19 lines
530 B
C
19 lines
530 B
C
/*
|
|
* PPC4xx Prototypes and definitions
|
|
*
|
|
* Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
|
|
*
|
|
* This is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_POWERPC_PPC4xx_H__
|
|
#define __ASM_POWERPC_PPC4xx_H__
|
|
|
|
extern void __noreturn ppc4xx_reset_system(char *cmd);
|
|
|
|
#endif /* __ASM_POWERPC_PPC4xx_H__ */
|