diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-01-12 22:44:03 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-13 13:48:18 +0300 |
commit | 26388a7c353f7b1d3fd8a6df6452fa9773193155 (patch) | |
tree | d6f4e587a71abd6c2a908f9169a5cca0aefd5b3b /arch/arm/kernel/cpuidle.c | |
parent | 69e26b4f43ed396868c6e7645f9eb06c3a0d2fee (diff) | |
download | linux-26388a7c353f7b1d3fd8a6df6452fa9773193155.tar.xz |
cpuidle,arch: Mark all regular cpuidle_state:: Enter methods __cpuidle
For all cpuidle drivers that do not use CPUIDLE_FLAG_RCU_IDLE (iow,
the simple ones) make sure all the functions are marked __cpuidle.
( due to lack of noinstr validation on these platforms it is entirely
possible this isn't complete )
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230112195542.335211484@infradead.org
Diffstat (limited to 'arch/arm/kernel/cpuidle.c')
-rw-r--r-- | arch/arm/kernel/cpuidle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/cpuidle.c b/arch/arm/kernel/cpuidle.c index e1684623e1b2..437ff39f7808 100644 --- a/arch/arm/kernel/cpuidle.c +++ b/arch/arm/kernel/cpuidle.c @@ -26,8 +26,8 @@ static struct cpuidle_ops cpuidle_ops[NR_CPUS] __ro_after_init; * * Returns the index passed as parameter */ -int arm_cpuidle_simple_enter(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index) +__cpuidle int arm_cpuidle_simple_enter(struct cpuidle_device *dev, struct + cpuidle_driver *drv, int index) { cpu_do_idle(); |