• R
    uprobes: Remove the wrong __weak attribute · c2d3f25d
    Ralf Baechle 提交于
    linux/uprobes.h declares arch_uprobe_skip_sstep() as a weak function.
    But as there is no definition of generic version so when trying to build
    uprobes for an architecture that doesn't yet have a arch_uprobe_skip_sstep()
    implementation, the vmlinux will try to call arch_uprobe_skip_sstep()
    somehwere in Stupidhistan leading to a system crash.  We rather want a
    proper link error so remove arch_uprobe_skip_sstep().
    Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
    Signed-off-by: NOleg Nesterov <oleg@redhat.com>
    c2d3f25d
uprobes.h 5.3 KB