of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git] / arch / arm64 / include / asm / cpuidle.h
blob0f74f05d662a76515e5938c6966c211bb5a554bb
1 #ifndef __ASM_CPUIDLE_H
2 #define __ASM_CPUIDLE_H
4 #include <asm/proc-fns.h>
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)
12 return -EOPNOTSUPP;
15 static inline int arm_cpuidle_suspend(int index)
17 return -EOPNOTSUPP;
19 #endif
20 #endif