These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / arm64 / include / asm / cpuidle.h
1 #ifndef __ASM_CPUIDLE_H
2 #define __ASM_CPUIDLE_H
3
4 #include <asm/proc-fns.h>
5
6 #ifdef CONFIG_CPU_IDLE
7 extern int arm_cpuidle_init(unsigned int cpu);
8 extern int arm_cpuidle_suspend(int index);
9 #else
10 static inline int arm_cpuidle_init(unsigned int cpu)
11 {
12         return -EOPNOTSUPP;
13 }
14
15 static inline int arm_cpuidle_suspend(int index)
16 {
17         return -EOPNOTSUPP;
18 }
19 #endif
20 #endif