]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes: Remove the wrong __weak attribute
authorRalf Baechle <ralf@linux-mips.org>
Wed, 9 Oct 2013 12:08:09 +0000 (14:08 +0200)
committerOleg Nesterov <oleg@redhat.com>
Tue, 29 Oct 2013 17:02:47 +0000 (18:02 +0100)
commitaa28aac8d826066436338f94c233c9c8b06c982d
tree68dd2beb6bf33a1862096b404e091c01aaf94b18
parentf9831d6b0743ad1bb1b3941de26e26bd276bde5a
uprobes: Remove the wrong __weak attribute

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: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
include/linux/uprobes.h