aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_cpufreq_clamp.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-03-22 16:40:21 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-11 23:06:39 +1000
commit1751289268ef959db68b0b6f798d904d6403309a (patch)
tree83454af245f0f90cdd7e9b7279956eb503fb3c92 /drivers/macintosh/windfarm_cpufreq_clamp.c
parentpowerpc/code-patching: Use jump_label for testing freed initmem (diff)
downloadlinux-dev-1751289268ef959db68b0b6f798d904d6403309a.tar.xz
linux-dev-1751289268ef959db68b0b6f798d904d6403309a.zip
powerpc/code-patching: Use jump_label to check if poking_init() is done
It's only during early startup that poking_init() is not done yet, for instance when calling ftrace_init(). Once poking_init() has been called there must be a poking area, no need to check it everytime patch_instruction() is called. ftrace activation time is reduced by 7% with the change on an 8xx. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/8d6088aca7b63247377b6d9e4897d08d935fbe93.1647962456.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/macintosh/windfarm_cpufreq_clamp.c')
0 files changed, 0 insertions, 0 deletions