powerpc/pseries: Always inline functions called from cpuidle
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Apr 2023 14:45:35 +0000 (00:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 03:21:49 +0000 (13:21 +1000)
commit18b5e7170a33a985dc842ab24a690fa6ff0f50e4
treed03bb05f61700c5c550d01619635be2003816688
parent88990745c934b14359e526033c5bc1daaf15267c
powerpc/pseries: Always inline functions called from cpuidle

Code in the idle path is not allowed to be instrumented because RCU is
disabled, see commit 0e985e9d2286 ("cpuidle: Add comments about
noinstr/__cpuidle usage").

Force inlining of the inline functions called from cpuidle, to ensure
they are not emitted out-of-line and then available for tracing.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230406144535.3786008-4-mpe@ellerman.id.au
arch/powerpc/include/asm/idle.h