mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00: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>
24 lines
829 B
C
24 lines
829 B
C
/*
|
|
* Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
|
|
*
|
|
* This program 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.
|
|
*
|
|
* Prototypes for MPC512x shared code
|
|
*/
|
|
|
|
#ifndef __MPC512X_H__
|
|
#define __MPC512X_H__
|
|
extern void __init mpc512x_init_IRQ(void);
|
|
extern void __init mpc512x_init_early(void);
|
|
extern void __init mpc512x_init(void);
|
|
extern void __init mpc512x_setup_arch(void);
|
|
extern int __init mpc5121_clk_init(void);
|
|
extern const char *mpc512x_select_psc_compat(void);
|
|
extern const char *mpc512x_select_reset_compat(void);
|
|
extern void __noreturn mpc512x_restart(char *cmd);
|
|
|
|
#endif /* __MPC512X_H__ */
|