1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef __ASM_CPUIDLE_H #define __ASM_CPUIDLE_H #ifdef CONFIG_CPU_IDLE extern int cpu_init_idle(unsigned int cpu); #else static inline int cpu_init_idle(unsigned int cpu) { return -EOPNOTSUPP; } #endif #endif