kprobes/parisc: remove arch_kprobe_on_func_entry()
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Wed, 21 Aug 2019 09:56:40 +0000 (09:56 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 6 Sep 2019 21:58:44 +0000 (23:58 +0200)
The common kprobes provides a weak implementation of
arch_kprobe_on_func_entry(). The parisc version is the same as the
common version, so remove it.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/kprobes.c

index 5d7f269..77ec518 100644 (file)
@@ -281,10 +281,6 @@ int __kprobes arch_trampoline_kprobe(struct kprobe *p)
 {
        return p->addr == trampoline_p.addr;
 }
-bool arch_kprobe_on_func_entry(unsigned long offset)
-{
-       return !offset;
-}
 
 int __init arch_init_kprobes(void)
 {