kprobes/parisc: remove arch_kprobe_on_func_entry()
PATCH 1/1 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 <[email protected]>
--- arch/parisc/kernel/kprobes.c | 4 ---- 1 file changed, 4 deletions(-)
arch/parisc/kernel/kprobes.c +0 -4
@@ -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 ) {
Signature · 1 line
2.23.0.rc1
Quoted 5 lines · Jisheng Zhang
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 <[email protected]>
Acked-by Sven Schnelle <[email protected]>
Quoted 22 lines
--- arch/parisc/kernel/kprobes.c | 4 ---- 1 file changed, 4 deletions(-)arch/parisc/kernel/kprobes.c +0
-4@@ -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 ) {Signature · 1 line
2.23.0.rc1