diff options
author | Andi Kleen <ak@suse.de> | 2005-09-12 12:49:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 13:49:55 -0400 |
commit | b4452218c4b7a579056d439b73a668b71654c137 (patch) | |
tree | a83d03b2bfc5a33a2f89a3d6b677b764ea3ac183 /arch/x86_64/kernel/smpboot.c | |
parent | 70556463487f33bc6728a7596b97f86b811aad22 (diff) |
[PATCH] x86-64: Enable interrupts during delay calibration on APs
We used to disable them to work around a bug, but that
is not needed anymore. Keeping them enabled avoids the NMI
watchdog triggering in some cases.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/smpboot.c')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 4efe36fe99aa..277ce5e91e04 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -413,8 +413,13 @@ void __cpuinit smp_callin(void) | |||
413 | 413 | ||
414 | /* | 414 | /* |
415 | * Get our bogomips. | 415 | * Get our bogomips. |
416 | * | ||
417 | * Need to enable IRQs because it can take longer and then | ||
418 | * the NMI watchdog might kill us. | ||
416 | */ | 419 | */ |
420 | local_irq_enable(); | ||
417 | calibrate_delay(); | 421 | calibrate_delay(); |
422 | local_irq_disable(); | ||
418 | Dprintk("Stack at about %p\n",&cpuid); | 423 | Dprintk("Stack at about %p\n",&cpuid); |
419 | 424 | ||
420 | disable_APIC_timer(); | 425 | disable_APIC_timer(); |