projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea46a13
)
kprobes/parisc: remove arch_kprobe_on_func_entry()
author
Jisheng Zhang
<Jisheng.Zhang@synaptics.com>
Wed, 21 Aug 2019 09:56:40 +0000
(09:56 +0000)
committer
Helge 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
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/kprobes.c
b/arch/parisc/kernel/kprobes.c
index 5d7f2692ac5ab87ac93fd9f43d30cc3b7809d9ca..77ec5181891652afbb1f292e2a1e95c058a0afdc 100644
(file)
--- 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)
{