diff options
| author | Christophe Leroy <[email protected]> | 2022-05-09 05:36:02 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-05-19 13:11:28 +0000 |
| commit | a1facd2578b312770aaea384adc7de0ed3f543d1 (patch) | |
| tree | 755a83b6b97cb2095779e5bcd2a672b5363a2128 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/code-patching: Inline is_offset_in_{cond}_branch_range() (diff) | |
| download | kernel-a1facd2578b312770aaea384adc7de0ed3f543d1.tar.gz kernel-a1facd2578b312770aaea384adc7de0ed3f543d1.zip | |
powerpc/ftrace: Use is_offset_in_branch_range()
Use is_offset_in_branch_range() instead of create_branch()
to check if a target is within branch range.
This patch together with the previous one improves
ftrace activation time by 7%
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/912ae51782f5a53c44e435497c8c3fb5cc632387.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
