diff options
author | Michael Walle <michael@walle.cc> | 2022-05-29 21:13:29 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-23 16:19:33 +0300 |
commit | 471f80db9ef178f84a6f5d70ffdd7990970031f6 (patch) | |
tree | e7096f92ece57dba0cbc19d7fe424bc706447425 /arch/arm64/include/asm/cpuidle.h | |
parent | 51280acad8559bd9d2c2e0f98faf08414676478d (diff) | |
download | linux-471f80db9ef178f84a6f5d70ffdd7990970031f6.tar.xz |
arm64: cpuidle: remove generic cpuidle support
The arm64 support of the generic ARM cpuidle driver was removed. This
let us remove all support code for it.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20220529181329.2345722-3-michael@walle.cc
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/cpuidle.h')
-rw-r--r-- | arch/arm64/include/asm/cpuidle.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm64/include/asm/cpuidle.h b/arch/arm64/include/asm/cpuidle.h index 14a19d1141bd..2047713e097d 100644 --- a/arch/arm64/include/asm/cpuidle.h +++ b/arch/arm64/include/asm/cpuidle.h @@ -4,21 +4,6 @@ #include <asm/proc-fns.h> -#ifdef CONFIG_CPU_IDLE -extern int arm_cpuidle_init(unsigned int cpu); -extern int arm_cpuidle_suspend(int index); -#else -static inline int arm_cpuidle_init(unsigned int cpu) -{ - return -EOPNOTSUPP; -} - -static inline int arm_cpuidle_suspend(int index) -{ - return -EOPNOTSUPP; -} -#endif - #ifdef CONFIG_ARM64_PSEUDO_NMI #include <asm/arch_gicv3.h> |