[PATCH v3 2/4] Implement generic time of day clocksource for powerpc machines.
Thomas Gleixner
tglx at linutronix.de
Wed Oct 3 14:00:56 EST 2007
On Wed, 3 Oct 2007, Paul Mackerras wrote:
> Tony Breeds writes:
>
> > @@ -982,6 +906,10 @@ void __init time_init(void)
> >
> > write_sequnlock_irqrestore(&xtime_lock, flags);
> >
> > + /* Register the clocksource, if we're not running on iSeries */
> > + if (!firmware_has_feature(FW_FEATURE_ISERIES))
> > + clocksource_init();
>
> This breaks the 32-bit compile.
>
> Is it possible to adjust the frequency of a clocksource after it has
> been registered? Or could the timebase clocksource be unregistered
> and reregistered in iSeries_tb_recal?
There is no unregister interface right now. But we need some mechanism to
tell the core code that you changed it. I have a look if John does not
beat me.
tglx
More information about the Linuxppc-dev
mailing list