From: Ingo Molnar Date: Wed, 7 Mar 2007 17:12:31 +0000 (+0100) Subject: [PATCH] CPU hotplug: call check_tsc_sync_source() with irqs off X-Git-Tag: v2.6.21-rc4~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04f41e35343f1d788551fd3f753f51794f4afcf;p=pandora-kernel.git [PATCH] CPU hotplug: call check_tsc_sync_source() with irqs off check_tsc_sync_source() depends on being called with irqs disabled (it checks whether the TSC is coherent across two specific CPUs). This is incidentally true during bootup, but not during cpu hotplug __cpu_up(). This got found via smp_processor_id() debugging. disable irqs explicitly and remove the unconditional enabling of interrupts. Add touch_nmi_watchdog() to the cpu_online_map busy loop. this bug is present both on i386 and on x86_64. Reported-by: Michal Piotrowski Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed