]> err.no Git - linux-2.6/commit
[POWERPC] Move iSeries_tb_recal into its own late_initcall.
authorTony Breeds <tony@bakeyournoodle.com>
Fri, 22 Jun 2007 06:54:30 +0000 (16:54 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:19:23 +0000 (19:19 +1000)
commit71712b455374a73af042fcfb5002fef5fd25ba44
tree872c63855d0ca5c0dd2a8446cda4d6600415cc74
parenta5c631b174e23cab773cf422c1f39b28e7224602
[POWERPC] Move iSeries_tb_recal into its own late_initcall.

Currently iSeries will recalibrate the cputime_factors in 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@bakeyournoodle.com>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c
arch/powerpc/platforms/iseries/setup.c
include/asm-powerpc/time.h