diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2007-06-22 02:54:30 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 05:19:23 -0400 |
commit | 71712b455374a73af042fcfb5002fef5fd25ba44 (patch) | |
tree | 872c63855d0ca5c0dd2a8446cda4d6600415cc74 /include/asm-powerpc | |
parent | a5c631b174e23cab773cf422c1f39b28e7224602 (diff) |
[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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index 2d00e13c981..d7f5ddfbaac 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h | |||
@@ -240,5 +240,7 @@ extern void snapshot_timebases(void); | |||
240 | #define snapshot_timebases() do { } while (0) | 240 | #define snapshot_timebases() do { } while (0) |
241 | #endif | 241 | #endif |
242 | 242 | ||
243 | extern void iSeries_time_init_early(void); | ||
244 | |||
243 | #endif /* __KERNEL__ */ | 245 | #endif /* __KERNEL__ */ |
244 | #endif /* __POWERPC_TIME_H */ | 246 | #endif /* __POWERPC_TIME_H */ |