summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-01-12 20:44:03 +0100
committerIngo Molnar <mingo@kernel.org>2023-01-13 11:48:18 +0100
commit26388a7c353f7b1d3fd8a6df6452fa9773193155 (patch)
treed6f4e587a71abd6c2a908f9169a5cca0aefd5b3b /arch/arm/kernel
parent69e26b4f43ed396868c6e7645f9eb06c3a0d2fee (diff)
downloadlinux-stable-26388a7c353f7b1d3fd8a6df6452fa9773193155.tar.gz
linux-stable-26388a7c353f7b1d3fd8a6df6452fa9773193155.tar.bz2
linux-stable-26388a7c353f7b1d3fd8a6df6452fa9773193155.zip
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')
-rw-r--r--arch/arm/kernel/cpuidle.c4
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();