From: Jisheng Zhang Date: Wed, 21 Aug 2019 09:56:40 +0000 (+0000) Subject: kprobes/parisc: remove arch_kprobe_on_func_entry() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08e697808f6823fa5dc833a344700f60b25a59d4;p=openwrt%2Fstaging%2Fblogic.git kprobes/parisc: remove arch_kprobe_on_func_entry() 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 Acked-by: Sven Schnelle Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/kprobes.c b/arch/parisc/kernel/kprobes.c index 5d7f2692ac5a..77ec51818916 100644 --- a/arch/parisc/kernel/kprobes.c +++ b/arch/parisc/kernel/kprobes.c @@ -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) {