[PATCH 2/5] Implement generic time of day clocksource for powerpc machines.

Paul Mackerras paulus at samba.org
Thu Sep 20 11:46:45 EST 2007


Daniel Walker writes:

> On Thu, 2007-09-20 at 10:52 +1000, Paul Mackerras wrote:
> > Daniel Walker writes:
> > 
> > > If you switch to the rtc do the shift and mult need to change?
> > 
> > You can't switch; any given CPU chip will have either the RTC or the
> > timebase but not both.
> 
> The code is switching between to clock read functions .. If they are

What part of "you can't switch" wasn't clear?  __USE_RTC() is a
constant on any given machine.

Paul.



More information about the Linuxppc-dev mailing list