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 #else 7 static inline int cpu_init_idle(unsigned int cpu) 8 { 9 return -EOPNOTSUPP; 10 } 11 #endif 12 13 #endif 14
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 #else 7 static inline int cpu_init_idle(unsigned int cpu) 8 { 9 return -EOPNOTSUPP; 10 } 11 #endif 12 13 #endif 14