diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-03-22 16:40:20 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-11 23:06:39 +1000 |
commit | b033767848c4115e486b1a51946de3bee2ac0fa6 (patch) | |
tree | 92673a5723ab58269ac2e7d458fa8f4e45643796 /drivers/macintosh/windfarm_pm91.c | |
parent | cb3ac45214c03852430979a43180371a44b74596 (diff) | |
download | linux-stable-b033767848c4115e486b1a51946de3bee2ac0fa6.tar.gz linux-stable-b033767848c4115e486b1a51946de3bee2ac0fa6.tar.bz2 linux-stable-b033767848c4115e486b1a51946de3bee2ac0fa6.zip |
powerpc/code-patching: Use jump_label for testing freed initmem
Once init is done, initmem is freed forever so no need to
test system_state at every call to patch_instruction().
Use jump_label.
This reduces by 2% the time needed to activate ftrace 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/0aee964721cab7316cffde21a2ca223cee14d373.1647962456.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/macintosh/windfarm_pm91.c')
0 files changed, 0 insertions, 0 deletions