Move iSeries_tb_recal from do_settimeofday() into it's own late_initcall.

Stephen Rothwell sfr at canb.auug.org.au
Fri Jun 22 16:03:02 EST 2007


On Fri, 22 Jun 2007 15:43:24 +1000 tony at bakeyournoodle.com (Tony Breeds) wrote:
>
> Move iSeries_tb_recal from do_settimeofday() into it's own late_initcall.
> 
> Currently iSeries will recalibrate the cputime_factors, from the first
> settimeofday() call.
> 
> It seems the reason for doing this is to ensure a resaonable time delta after
> time_init().  On current kernels (with udev), this call is made 40-60 seconds
> into the boot process, by moving it to a late initcall it is called
> approximately 5 seconds after time_init() is called.  This is sufficient to
> recalibrate the timebase.
> 
> Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070622/fc6c9e28/attachment.pgp>


More information about the Linuxppc-dev mailing list