]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b163fabcea15b46ac194eb53175fd19c9b8e7f9
treeffa9384b104133941df368dd6542d76d1286ca1c
parent749aa7e5685d2656008cb3621ba3d65e53f18b64
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