xref: /openbmc/linux/arch/arm64/include/asm/cpuidle.h (revision 92a2c6b2)
1 #ifndef __ASM_CPUIDLE_H
2 #define __ASM_CPUIDLE_H
3 
4 #ifdef CONFIG_CPU_IDLE
5 extern int cpu_init_idle(unsigned int cpu);
6 extern int cpu_suspend(unsigned long arg);
7 #else
8 static inline int cpu_init_idle(unsigned int cpu)
9 {
10 	return -EOPNOTSUPP;
11 }
12 
13 static inline int cpu_suspend(unsigned long arg)
14 {
15 	return -EOPNOTSUPP;
16 }
17 #endif
18 
19 #endif
20