linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* asm/timex.h
@ 2002-05-24 17:33 Vojtech Pavlik
  2002-05-24 17:49 ` asm/timex.h Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Vojtech Pavlik @ 2002-05-24 17:33 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-24 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-24 17:33 asm/timex.h Vojtech Pavlik
2002-05-24 17:49 ` asm/timex.h Christoph Hellwig
2002-05-24 18:23   ` asm/timex.h Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).