[PATCH] nomadik: prevent sched_clock() wraparound v4

Linus Walleij linus.walleij at stericsson.com
Thu Nov 18 05:50:38 EST 2010


Uwe Kleine-König wrote:

>> +unsigned long long sched_clock(void)
>
> Before your patch sched_clock was marked notrace.  Did you remove that
> on purpose?

Yes actually, and then the other day I saw Rabins patch adding
it to each and every machine. And I think Tim put out a similar
patch not too long ago.

Frederic Weisbecker then remarked that the sched_clock
prototype in sched.h already includes notrace. So it's
not strictly required the way I read it.

So with this in my back head I removed it.

But I guess I'll just re-add it for clarity, why not.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list