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

Paul Mackerras paulus at samba.org
Wed Oct 3 10:48:51 EST 2007


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?

Paul.



More information about the Linuxppc-dev mailing list