Commit | Line | Data |
---|---|---|
d64f84f6 LP |
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); | |
af3cfdbf | 6 | extern int cpu_suspend(unsigned long arg); |
d64f84f6 LP |
7 | #else |
8 | static inline int cpu_init_idle(unsigned int cpu) | |
9 | { | |
10 | return -EOPNOTSUPP; | |
11 | } | |
af3cfdbf LP |
12 | |
13 | static inline int cpu_suspend(unsigned long arg) | |
14 | { | |
15 | return -EOPNOTSUPP; | |
16 | } | |
d64f84f6 LP |
17 | #endif |
18 | ||
19 | #endif |