lkml.org 
[lkml]   [2013]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] UPROBES: Remove useless __weak attribute
* Ralf Baechle <ralf@linux-mips.org> [2013-10-09 14:08:09]:

> <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>
>

Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>

Will be nice to have another arch(mips) support for uprobes.

--
Thanks and Regards
Srikar Dronamraju



\
 
 \ /
  Last update: 2013-10-11 03:21    [W:2.306 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site