Skip to content

RFC unify definition of CLOCK_TICK_RATE across different platforms

Lennert Buytenhek linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: remove dependency of platform code on CLOCK_TICK_RATE / LATCH definesarch/arm/common/time-acorn.c arch/arm/mach-aaec2000/core.c arch/arm/mach-at91/at91rm9200_time.c +15 more+100 -462 replies
2/5ks8695_wdt: explicitly define the SoC timer tick base ratedrivers/watchdog/ks8695_wdt.c+2 -11 reply
2/5ks8695_wdt: explicitly define the SoC timer tick base ratedrivers/watchdog/ks8695_wdt.c+1 -10 replies
3/5rtc-pxa: remove unused TIMER_FREQ definedrivers/rtc/rtc-pxa.c+0 -11 reply
4/5ARM: unify the definition of CLOCK_TICK_RATE across all ARM platformsarch/arm/include/asm/timex.h+1 -10 replies
5/5ARM: remove per-platform timex.h include filesarch/arm/mach-aaec2000/include/mach/timex.h arch/arm/mach-at91/include/mach/timex.h arch/arm/mach-bcmring/include/mach/timex.h +58 more+0 -11524 replies
5/5ARM: remove per-platform timex.h include filesarch/arm/mach-at91/at91x40.c+2 -10 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric MiaoLinus WalleijNicolas PitreH Hartley SweetenKevin Hilman
SeriesA-b A-b
1/5A-b
2/5
2/5
3/5A-b
4/5
5/5A-b A-b
5/5A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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!