> -----Original Message----- > From: Eugene Surovegin [mailto:ebs at ebshome.net] > Sent: Tuesday, August 09, 2005 13:35 > To: Rune Torgersen > Cc: linuxppc-embedded at ozlabs.org > Subject: Re: Wall clock accuracy > > On Tue, Aug 09, 2005 at 01:21:09PM -0500, Rune Torgersen wrote: > > > > A proper fix would be for platfrom code to have a way to > set time_nsec > > instead of having it set by a constant. > > Or configure CLOCK_TICK_RATE in board/CPU specific fashion, e.g. like > ARM does.
Then it would have to be a constant, and it would be much better to just use the clockrate given to the kernel than have to hardcode it into the kernel.