diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-05-08 22:07:24 +0800 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-05-20 10:22:49 +0200 |
commit | 55d7b4b8292bf7b698e947b1cfe263e4acac6cec (patch) | |
tree | c5971f30256c25481f7e7a723eed9936a1958c68 | |
parent | 23a457b8d57dc8d0cc1dbd1882993dd2fcc4b0c0 (diff) | |
download | linux-55d7b4b8292bf7b698e947b1cfe263e4acac6cec.tar.gz linux-55d7b4b8292bf7b698e947b1cfe263e4acac6cec.tar.bz2 linux-55d7b4b8292bf7b698e947b1cfe263e4acac6cec.zip |
s390: Remove two unused inline functions
commit 657480d9c015 ("s390: support KPROBES_ON_FTRACE")
left behind this, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Sven Schnelle <svens@linux.ibm.com>
Link: https://lore.kernel.org/r/20200508140724.11324-1-yuehaibing@huawei.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
-rw-r--r-- | arch/s390/kernel/ftrace.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/s390/kernel/ftrace.c b/arch/s390/kernel/ftrace.c index 4cd9b1ada834..44e01dd1e624 100644 --- a/arch/s390/kernel/ftrace.c +++ b/arch/s390/kernel/ftrace.c @@ -72,22 +72,6 @@ static inline void ftrace_generate_orig_insn(struct ftrace_insn *insn) #endif } -static inline void ftrace_generate_kprobe_nop_insn(struct ftrace_insn *insn) -{ -#ifdef CONFIG_KPROBES - insn->opc = BREAKPOINT_INSTRUCTION; - insn->disp = KPROBE_ON_FTRACE_NOP; -#endif -} - -static inline void ftrace_generate_kprobe_call_insn(struct ftrace_insn *insn) -{ -#ifdef CONFIG_KPROBES - insn->opc = BREAKPOINT_INSTRUCTION; - insn->disp = KPROBE_ON_FTRACE_CALL; -#endif -} - int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) { |