Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jisheng Zhang and committed by
Helge Deller
08e69780 ea46a13e

-4
-4
arch/parisc/kernel/kprobes.c
··· 281 281 { 282 282 return p->addr == trampoline_p.addr; 283 283 } 284 - bool arch_kprobe_on_func_entry(unsigned long offset) 285 - { 286 - return !offset; 287 - } 288 284 289 285 int __init arch_init_kprobes(void) 290 286 {