[PATCH v5 1/4] ARM: deprecate mach/timex.h for !ARCH_MULTIPLATFORM

Arnd Bergmann arnd at arndb.de
Tue Nov 5 09:58:34 EST 2013


On Tuesday 05 November 2013, Uwe Kleine-König wrote:
> On Tue, Nov 05, 2013 at 01:26:31PM +0100, Arnd Bergmann wrote:

> > I know we can't kill all of them, but there are still a few in the list above
> > that can be made to use clocksource, and I'm fine with keeping the list
> > around for the ones that really can't. The comment should probably be
> > clearer, but it was more intended for people with random out-of-tree platform
> > code that should be converted to use clocksource.
> droping the CLOCK_TICK_RATE cpp symbol and converting to clocksource
> doesn't necessarily need to go hand in hand, do they? If yes, can you
> please point out the non-trivial use of CLOCK_TICK_RATE?

The last time I had a closer look at this file, defining CLOCK_TICK_RATE
was required for calculating ACT_HZ as the basis for accurate timekeeping
in the absence of a full clocksource driver. That seems to be no longer
the case, I know we talked about getting rid of this particular use
of CLOCK_TICK_RATE in the past, but I don't currently remember what
exactly happened.

	Arnd



More information about the linux-arm-kernel mailing list