summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2024-01-17 07:43:08 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-01-17 07:43:08 +0300
commit91af17cd7d03db8836554c91ba7c38b0817aa980 (patch)
tree47a78fb1a8e9ec6b5a03b7942994efc85bbce597 /arch/sparc
parent78de91b45860da175bab73f4521d9ad875f3a7d4 (diff)
downloadlinux-91af17cd7d03db8836554c91ba7c38b0817aa980.tar.xz
LoongArch: Fix definition of ftrace_regs_set_instruction_pointer()
The current definition of ftrace_regs_set_instruction_pointer() is not correct. Obviously, this function is used to set instruction pointer but not return value, so it should call instruction_pointer_set() instead of regs_set_return_value(). There is no side effect by now because it is only used for kernel live- patching which is not supported, so fix it to avoid failure when testing livepatch in the future. Fixes: 6fbff14a6382 ("LoongArch: ftrace: Abstract DYNAMIC_FTRACE_WITH_ARGS accesses") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions