[RFC, PATCH 0/5] unify definition of CLOCK_TICK_RATE across different platforms

Lennert Buytenhek buytenh at wantstofly.org
Wed Oct 20 00:51:10 EDT 2010


One of the things preventing building an ARM multiplatform kernel
image is the fact that CLOCK_TICK_RATE (and as a consequence, LATCH)
is defined differently for each ARM platform.

The patches in this series:
- pull the per-platform CLOCK_TICK_RATE defines from <mach/timex.h>
  into arch/arm/mach-foo/ (on those platforms that use the
  CLOCK_TICK_RATE define and/or the LATCH define in their platform
  support code);
- define CLOCK_TICK_RATE as a platform-independent value in <asm/timex.h>;
- get rid of all <mach/timex.h> include files.

Comments welcome!



More information about the linux-arm-kernel mailing list