Re: 2.6.23-rc2-mm1: rcutorture xtime usage

Paul E. McKenney
2007-08-11T19:39:50Z

On Sat, Aug 11, 2007 at 08:09:09PM +0200, Ingo Molnar wrote:
>
> * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
>
> > Add an EXPORT_SYMBOL_GPL() for cpu_clock() and make rcutorture.c use it.
> > Compiles, but not yet tested.
> >
> > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
>
> > --- linux-2.6.23-rc2/kernel/sched.c 2007-08-03 19:49:55.000000000 -0700
> > +++ linux-2.6.23-rc2-rcutorturesched/kernel/sched.c 2007-08-10 17:22:57.000000000 -0700
> > @@ -394,6 +394,8 @@ unsigned long long cpu_clock(int cpu)
> > return now;
> > }
> >
> > +EXPORT_SYMBOL_GPL(cpu_clock);
>
> sure enough,
>
> Acked-by: Ingo Molnar <mingo@elte.hu>

Thank you!

Just for the record, given that the xtime API that it replaces
was EXPORT_SYMBOL(), I would have not objection to this also being
EXPORT_SYMBOL(). That said, I know of no specific reason for it being
other than EXPORT_SYMBOL_GPL().

Thanx, Paul