powerpc: Move some calculations from xxx_calibrate_decr to time_init
authorPaul Mackerras <paulus@samba.org>
Thu, 20 Oct 2005 11:04:51 +0000 (21:04 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Oct 2005 11:04:51 +0000 (21:04 +1000)
commit374e99d450a0c44dc30041fa83eccfd0890330c7
treeffa9384b104133941df368dd6542d76d1286ca1c
parent0458060c1c59c5378d8fb5daabe18cf4681c35cd
powerpc: Move some calculations from xxx_calibrate_decr to time_init

Previously the individual xxx_calibrate_decr functions would each
print the timebase and cpu frequency and calculate several values
such as tb_to_us and tb_to_xs.  This moves those printks and
calculations into time_init just after the call to the platform's
calibrate_decr function.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c
arch/ppc64/kernel/pmac_time.c