xref: /linux/arch/powerpc/platforms/85xx/smp.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2582d3e09SKyle Moffett #ifndef POWERPC_85XX_SMP_H_
3582d3e09SKyle Moffett #define POWERPC_85XX_SMP_H_ 1
4582d3e09SKyle Moffett 
5582d3e09SKyle Moffett #include <linux/init.h>
6582d3e09SKyle Moffett 
7582d3e09SKyle Moffett #ifdef CONFIG_SMP
8582d3e09SKyle Moffett void __init mpc85xx_smp_init(void);
956f1ba28Schenhui zhao int __init mpc85xx_setup_pmc(void);
10582d3e09SKyle Moffett #else
mpc85xx_smp_init(void)11582d3e09SKyle Moffett static inline void mpc85xx_smp_init(void)
12582d3e09SKyle Moffett {
13582d3e09SKyle Moffett 	/* Nothing to do */
14582d3e09SKyle Moffett }
15582d3e09SKyle Moffett #endif
16582d3e09SKyle Moffett 
17582d3e09SKyle Moffett #endif /* not POWERPC_85XX_SMP_H_ */
18