[patch 00/16] arm: Replace arm sched_clock by clocksource based sched_clock

Thomas Gleixner
2011-04-26T08:02:11Z

On Sun, 24 Apr 2011, Linus Walleij wrote:

> 2011/4/23 Thomas Gleixner <tglx@linutronix.de>:
>
> > Most of ARM sched_clocks is using the timekeeping clocksource as the
> > sched_clock. Only versatile uses a different clock for it, but there
> > is no real reason why it can't use the clocksource as well.
>
> Excellent patch set!
>
> > Another 650 lines gone :)
>
> Any reason why we can't simply move *all* of these to
> drivers/clocksource/* and proceed with consolidation there?
>
> It must be a pain having to grep through the tree to find all of
> these (even though I bet you know them all by heart now).

Russell has a patch which creates clocksource_mmio. That will replace
all the mmio (read some random register) based clocksources all over
the place.

Thanks,

tglx