KVM guest: Move a printk that's using the clock before it's ready
authorArjan Koers <0h61vkll2ly8@xutrox.com>
Mon, 2 Aug 2010 21:35:28 +0000 (23:35 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:53:06 +0000 (10:53 +0200)
commit19b6a85b78a5d4b466c537bdbf0eaecae5e2c4e2
treedc4098988a3a8691e3c6f9f6c5a8cedf53218cb7
parentc285545f813d7b0ce989fd34e42ad1fe785dc65d
KVM guest: Move a printk that's using the clock before it's ready

Fix a hang during SMP kernel boot on KVM that showed up
after commit 489fb490dbf8dab0249ad82b56688ae3842a79e8
(2.6.35) and 59aab522154a2f17b25335b63c1cf68a51fb6ae0
(2.6.34.1). The problem only occurs when
CONFIG_PRINTK_TIME is set.

KVM-Stable-Tag.
Signed-off-by: Arjan Koers <0h61vkll2ly8@xutrox.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kernel/kvmclock.c