asm/timex.h

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Fri May 24 2002 - 12:33:45 EST


Hi!

I have several questions about asm/timex.h

1) Who uses it? The kernel certainly doesn't. Perhaps NTP?

2) CLOCK_TICK_RATE is defined on i386 and similar archs
   to be 1193180. This is wrong, because the real frequency
   of the i8253 PIT timer is 14.31818 MHz / 12 = 1.11931816 MHz,
   so CLOCK_TICK_RATE should be 1193182. Should it be fixed?

3) What if an architecture doesn't have a compile-time known
   CLOCK_TICK_RATE? I suppose I cannot just #define it to a variable,
   because the kernel doesn't use it, and that probably means userland
   does ...

Anyone knows the answers?

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:13 EST