aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2022-05-09 05:36:00 +0000
committerMichael Ellerman <[email protected]>2022-05-19 13:11:28 +0000
commitae3a2a2188214adc355a5bdf6deb29120886c96f (patch)
treecb3e4bb37c1675112cbae32a84295187f0cf9fe6 /arch/powerpc/lib/code-patching.c
parentpowerpc/ftrace: Refactor prepare_ftrace_return() (diff)
downloadkernel-ae3a2a2188214adc355a5bdf6deb29120886c96f.tar.gz
kernel-ae3a2a2188214adc355a5bdf6deb29120886c96f.zip
powerpc/ftrace: Remove redundant create_branch() calls
Since commit d5937db114e4 ("powerpc/code-patching: Fix patch_branch() return on out-of-range failure") patch_branch() fails with -ERANGE when trying to branch out of range. No need to perform the test twice. Remove redundant create_branch() calls. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/aa45fbad0b4b7493080835d8276c0cb4ce146503.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions