LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* CLOCK_TICK_RATE
@ 2005-08-11 15:13 Rune Torgersen
  2005-08-11 16:14 ` CLOCK_TICK_RATE Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Rune Torgersen @ 2005-08-11 15:13 UTC (permalink / raw)
  To: linuxppc-dev

Hi

I have found that I need to set CLOCK_TICK_RATE (currently defined in
include/asm-ppc/timex.h) to something else.
Right now it is set to the PC timer clock value (1193180Hz). I need to
set it to the frequency of my decrementer instead (busfreq/4)

Right now the value of theis define means the wall-clock time on ALL ppc
(and ppc64) systems that does not use the old I386 timer freqyuencly
(most all?) are using the wrong values.

How can I change this to be platform dependant?=20
The other problem is that it has to be hardcoded on compile time, but
I'm not going to worry to much about that.

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

end of thread, other threads:[~2005-08-11 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 15:13 CLOCK_TICK_RATE Rune Torgersen
2005-08-11 16:14 ` CLOCK_TICK_RATE Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox