Re: [PATCH 04/27] asm-generic: add legacy I/O header files

From: Alan Cox
Date: Fri May 01 2009 - 10:03:08 EST


> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/