On Mon, Apr 28, 2014 at 09:13:04PM +0100, Paul E. McKenney wrote: > On Mon, Apr 28, 2014 at 08:03:35PM +0100, Will Deacon wrote: > > By the time rcutorture is initialised via its module_init callback, the > > .init.text section of torture.ko has already been freed, so the calls to > > torture_init{begin,end} end up branching to junk. > > > > This patch removes the __init annotations from torture_init_{begin,end} > > to make sure the code is there when we want to call it. > > > > Cc: Paul E. McKenney <paul...@linux.vnet.ibm.com> > > Cc: Josh Triplett <j...@joshtriplett.org> > > Signed-off-by: Will Deacon <will.dea...@arm.com> > > Good catch, and apologies for the wasted day, but someone beat you to > this. By only 12 days, which is a bit surprising given how long this > has been lurking.
Oh well, at least it's getting fixed! Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/