xref: /linux/arch/arm64/include/asm/cpuidle.h (revision 92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f)
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 cpu_init_idle(unsigned int cpu);
8 extern int cpu_suspend(unsigned long arg);
9 #else
10 static inline int cpu_init_idle(unsigned int cpu)
11 {
12 	return -EOPNOTSUPP;
13 }
14 
15 static inline int cpu_suspend(unsigned long arg)
16 {
17 	return -EOPNOTSUPP;
18 }
19 #endif
20 
21 #endif
22