diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-01-12 20:44:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-13 11:48:18 +0100 |
commit | 26388a7c353f7b1d3fd8a6df6452fa9773193155 (patch) | |
tree | d6f4e587a71abd6c2a908f9169a5cca0aefd5b3b /arch/arm/mach-imx/cpuidle-imx6sl.c | |
parent | 69e26b4f43ed396868c6e7645f9eb06c3a0d2fee (diff) | |
download | linux-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/mach-imx/cpuidle-imx6sl.c')
-rw-r--r-- | arch/arm/mach-imx/cpuidle-imx6sl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx6sl.c b/arch/arm/mach-imx/cpuidle-imx6sl.c index b86ffbeb28e4..b49cd6302dce 100644 --- a/arch/arm/mach-imx/cpuidle-imx6sl.c +++ b/arch/arm/mach-imx/cpuidle-imx6sl.c @@ -11,8 +11,8 @@ #include "common.h" #include "cpuidle.h" -static int imx6sl_enter_wait(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index) +static __cpuidle int imx6sl_enter_wait(struct cpuidle_device *dev, + struct cpuidle_driver *drv, int index) { imx6_set_lpm(WAIT_UNCLOCKED); /* |