diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-03-07 18:12:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-07 19:07:24 +0100 |
commit | d04f41e35343f1d788551fd3f753f51794f4afcf (patch) | |
tree | 50f22b1deab312476254868e8ec8c0c592c3d3e0 /arch/i386/kernel/smp.c | |
parent | Linux 2.6.21-rc3 (diff) | |
download | linux-d04f41e35343f1d788551fd3f753f51794f4afcf.tar.xz linux-d04f41e35343f1d788551fd3f753f51794f4afcf.zip |
[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 <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions