s390/ftrace: add ftrace_instruction_pointer_set() helper function
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 4 Oct 2021 14:16:45 +0000 (16:16 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 11 Oct 2021 18:55:58 +0000 (20:55 +0200)
commit176510ebecd1ca201a8808dbbee9991eca005207
treeb674115505ff1676fc79507337f9fb8d587352b6
parent5740a7c71ab6721863f7dcfc8ab96be00b0a4b58
s390/ftrace: add ftrace_instruction_pointer_set() helper function

Add ftrace_instruction_pointer_set() helper function to match x86.
See commit 2860cd8a2353 ("livepatch: Use the default ftrace_ops
instead of REGS when ARGS is available").

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/ftrace.h
arch/s390/include/asm/livepatch.h