* 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
* Re: CLOCK_TICK_RATE
2005-08-11 15:13 CLOCK_TICK_RATE Rune Torgersen
@ 2005-08-11 16:14 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2005-08-11 16:14 UTC (permalink / raw)
To: Rune Torgersen; +Cc: linuxppc-dev
"Rune Torgersen" <runet@innovsys.com> writes:
> Hi
>
> I have found that I need to set CLOCK_TICK_RATE (currently defined in
> include/asm-ppc/timex.h) to something else.
I can't find any use of CLOCK_TICK_RATE in the kernel that is relevant for
ppc.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ 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