mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
ea46a13ebf
commit
08e697808f
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue