![chenhui zhao](/assets/img/avatar_default.png)
Freescale CoreNet-based and Non-CoreNet-based platforms require different PM operations. This patch extracted existing PM operations on Non-CoreNet-based platforms to a new file which can accommodate both platforms. In this way, PM operation codes are clearer structurally. Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com> Signed-off-by: Tang Yuantian <Yuantian.Tang@feescale.com> Signed-off-by: Scott Wood <oss@buserror.net>
17 lines
292 B
C
17 lines
292 B
C
#ifndef POWERPC_85XX_SMP_H_
|
|
#define POWERPC_85XX_SMP_H_ 1
|
|
|
|
#include <linux/init.h>
|
|
|
|
#ifdef CONFIG_SMP
|
|
void __init mpc85xx_smp_init(void);
|
|
int __init mpc85xx_setup_pmc(void);
|
|
#else
|
|
static inline void mpc85xx_smp_init(void)
|
|
{
|
|
/* Nothing to do */
|
|
}
|
|
#endif
|
|
|
|
#endif /* not POWERPC_85XX_SMP_H_ */
|