]>
Commit | Line | Data |
---|---|---|
d64f84f6 LP |
1 | #ifndef __ASM_CPUIDLE_H |
2 | #define __ASM_CPUIDLE_H | |
3 | ||
af4819af LP |
4 | #include <asm/proc-fns.h> |
5 | ||
d64f84f6 LP |
6 | #ifdef CONFIG_CPU_IDLE |
7 | extern int cpu_init_idle(unsigned int cpu); | |
af3cfdbf | 8 | extern int cpu_suspend(unsigned long arg); |
d64f84f6 LP |
9 | #else |
10 | static inline int cpu_init_idle(unsigned int cpu) | |
11 | { | |
12 | return -EOPNOTSUPP; | |
13 | } | |
af3cfdbf LP |
14 | |
15 | static inline int cpu_suspend(unsigned long arg) | |
16 | { | |
17 | return -EOPNOTSUPP; | |
18 | } | |
d64f84f6 LP |
19 | #endif |
20 | ||
21 | #endif |