]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm64/include/asm/cpuidle.h
Merge remote-tracking branches 'regmap/fix/irq', 'regmap/fix/rbtree' and 'regmap...
[mirror_ubuntu-hirsute-kernel.git] / arch / arm64 / include / asm / cpuidle.h
CommitLineData
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
7extern int cpu_init_idle(unsigned int cpu);
af3cfdbf 8extern int cpu_suspend(unsigned long arg);
d64f84f6
LP
9#else
10static inline int cpu_init_idle(unsigned int cpu)
11{
12 return -EOPNOTSUPP;
13}
af3cfdbf
LP
14
15static inline int cpu_suspend(unsigned long arg)
16{
17 return -EOPNOTSUPP;
18}
d64f84f6
LP
19#endif
20
21#endif