• Tony Breeds's avatar
    [POWERPC] Move iSeries_tb_recal into its own late_initcall. · 71712b45
    Tony Breeds authored
    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: default avatarTony Breeds <tony@bakeyournoodle.com>
    CC: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    71712b45
time.h 5.67 KB