[PATCH 28/40] ARM: sched_clock: provide common infrastructure for sched_clock()

Nicolas Pitre nico at fluxnic.net
Fri Dec 17 14:59:10 EST 2010


On Fri, 17 Dec 2010, Russell King - ARM Linux wrote:

> On Fri, Dec 17, 2010 at 02:37:41PM -0500, Nicolas Pitre wrote:
> > On Fri, 17 Dec 2010, Russell King - ARM Linux wrote:
> > 
> > > +	local_irq_disable();
> > 
> > Actually, wouldn't it be better to use raw_local_irq_disable() here so 
> > this is safe with a RT kernel as well?
> 
> Grr, there's too many different combinations of stuff... yes, it should be.

That's why we have peer review.  :-)


Nicolas



More information about the linux-arm-kernel mailing list