mirror of https://gitee.com/openkylin/linux.git
14 lines
212 B
C
14 lines
212 B
C
|
#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
|