Messages in this thread Patch in this message | | | From | Glauber Costa <> | Subject | [PATCH 47/52] leave irqs enabled while calibrating delay. | Date | Mon, 3 Mar 2008 14:13:15 -0300 |
| |
although i386 appearantly does not have problems with the nmi, we leave irqs enabled, as it is common ground between it and x86_64.
Signed-off-by: Glauber Costa <gcosta@redhat.com> --- arch/x86/kernel/smpboot_32.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 2dd95ba..8c39369 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c @@ -208,8 +208,13 @@ static void __cpuinit smp_callin(void) /* * Get our bogomips. + * + * Need to enable IRQs because it can take longer and then + * the NMI watchdog might kill us. */ + local_irq_enable(); calibrate_delay(); + local_irq_disable(); Dprintk("Stack at about %p\n",&cpuid); /* -- 1.5.0.6
| |