]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm64/include/asm/cpuidle.h
UBUNTU: Ubuntu-5.3.0-29.31
[mirror_ubuntu-eoan-kernel.git] / arch / arm64 / include / asm / cpuidle.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
d64f84f6
LP
2#ifndef __ASM_CPUIDLE_H
3#define __ASM_CPUIDLE_H
4
af4819af
LP
5#include <asm/proc-fns.h>
6
d64f84f6 7#ifdef CONFIG_CPU_IDLE
c9d62161 8extern int arm_cpuidle_init(unsigned int cpu);
af391b15 9extern int arm_cpuidle_suspend(int index);
d64f84f6 10#else
c9d62161 11static inline int arm_cpuidle_init(unsigned int cpu)
d64f84f6
LP
12{
13 return -EOPNOTSUPP;
14}
af3cfdbf 15
af391b15 16static inline int arm_cpuidle_suspend(int index)
af3cfdbf
LP
17{
18 return -EOPNOTSUPP;
19}
d64f84f6 20#endif
d64f84f6 21#endif