Re: [PATCH] UPROBES: Remove useless __weak attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ralf Baechle <ralf@xxxxxxxxxxxxxx> [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@xxxxxxxxxxxxxx>
> 

Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

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

-- 
Thanks and Regards
Srikar Dronamraju



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux