Messages in this thread | | | Date | Fri, 1 May 2009 15:03:19 +0100 | From | Alan Cox <> | Subject | Re: [PATCH 04/27] asm-generic: add legacy I/O header files |
| |
> I just noticed that linux/jiffies.h does not compile without a definition > of CLOCK_TICK_RATE, so that's probably why every architecture defines it.
It should do so just fine what errors are you seeing ?
CLOCK_TICK_RATE produces ACTHZ and LATCH
ACTHZ is specific to the jiffies timer (and requires CLOCK_TICK_RATE represents the input frequency that is divided to generate the target HZ value for the system), LATCH is used in a couple of ugly bits of x86 code and can probably now go away.
So we now have at least two conflicting meanings for CLOCK_TICK_RATE which again says it needs fixing not wallpapering over.
Alan
| |