summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2019-08-21 12:56:40 +0300
committerHelge Deller <deller@gmx.de>2019-09-07 00:58:44 +0300
commit08e697808f6823fa5dc833a344700f60b25a59d4 (patch)
treede27714abacbb6a3fb84d4f83c3d6c4bc89679e5 /arch/parisc
parentea46a13ebf536698a6f456e03b0f33bffbc5b4c0 (diff)
downloadlinux-08e697808f6823fa5dc833a344700f60b25a59d4.tar.xz
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 <Jisheng.Zhang@synaptics.com> Acked-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/kprobes.c4
1 files changed, 0 insertions, 4 deletions
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)
{