init: Move sched_clock_init after late_time_init
authorThomas Gleixner <tglx@linutronix.de>
Fri, 21 Aug 2009 20:01:12 +0000 (22:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Aug 2009 14:38:18 +0000 (16:38 +0200)
Some architectures initialize clocks and timers in late_time_init and
x86 wants to do the same to avoid FIXMAP hackery for calibrating the
TSC. That would result in undefined sched_clock readout and wreckaged
printk timestamps again. We probably have those already on archs which
do all their time/clock setup in late_time_init.

There is no harm to move that after late_time_init except that a few
more boot timestamps are stale. The scheduler is not active at that
point so no real wreckage is expected.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Cc: linux-arch@vger.kernel.org
init/main.c

diff --cc init/main.c
Simple merge