diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-23 13:02:59 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-01 20:41:28 +0100 |
commit | 9fa881f7e3c74ce6626d166bca9397e5d925937f (patch) | |
tree | 7197c2dd10105a8244fa2258931d943bb462fc87 /arch/s390/include/asm/ptrace.h | |
parent | s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE (diff) | |
download | linux-9fa881f7e3c74ce6626d166bca9397e5d925937f.tar.xz linux-9fa881f7e3c74ce6626d166bca9397e5d925937f.zip |
s390/ftrace: fix ftrace_caller/ftrace_regs_caller generation
ftrace_caller was used for both ftrace_caller and ftrace_regs_caller,
which means that the target address of the hotpatch trampoline was
never updated.
With commit 894979689d3a ("s390/ftrace: provide separate
ftrace_caller/ftrace_regs_caller implementations") a separate
ftrace_regs_caller entry point was implemeted, however it was
forgotten to implement the necessary changes for ftrace_modify_call
and ftrace_make_call, where the branch target has to be modified
accordingly.
Therefore add the missing code now.
Fixes: 894979689d3a ("s390/ftrace: provide separate ftrace_caller/ftrace_regs_caller implementations")
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/ptrace.h')
0 files changed, 0 insertions, 0 deletions