From: Martin Schwidefsky Date: Fri, 11 Sep 2009 13:33:05 +0000 (+0200) Subject: clocksource: Resolve cpu hotplug dead lock with TSC unstable, fix crash X-Git-Tag: v2.6.32-rc1~649^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79e0258ea1f04d63db499479b5fb855dff6dbc5;p=pandora-kernel.git clocksource: Resolve cpu hotplug dead lock with TSC unstable, fix crash The watchdog timer is started after the watchdog clocksource and at least one watched clocksource have been registered. The clocksource work element watchdog_work is initialized just before the clocksource timer is started. This is too late for the clocksource_mark_unstable call from native_cpu_up. To fix this use a static initializer for watchdog_work. This resolves a boot crash reported by multiple people. Signed-off-by: Martin Schwidefsky Cc: Jens Axboe Cc: John Stultz LKML-Reference: <20090911153305.3fe9a361@skybase> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed