View | Details | Raw Unified | Return to bug 25252 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6/arch/x86/kernel/smpboot.c (+2 lines)
Lines 1404-1409 static inline void mwait_play_dead(void) Link Here
1404
	if (current_cpu_data.cpuid_level < CPUID_MWAIT_LEAF)
1404
	if (current_cpu_data.cpuid_level < CPUID_MWAIT_LEAF)
1405
		return;
1405
		return;
1406
1406
1407
	native_irq_disable();
1407
	eax = CPUID_MWAIT_LEAF;
1408
	eax = CPUID_MWAIT_LEAF;
1408
	ecx = 0;
1409
	ecx = 0;
1409
	native_cpuid(&eax, &ebx, &ecx, &edx);
1410
	native_cpuid(&eax, &ebx, &ecx, &edx);
Lines 1447-1452 static inline void mwait_play_dead(void) Link Here
1447
		__monitor(mwait_ptr, 0, 0);
1448
		__monitor(mwait_ptr, 0, 0);
1448
		mb();
1449
		mb();
1449
		__mwait(eax, 0);
1450
		__mwait(eax, 0);
1451
		native_irq_disable();
1450
	}
1452
	}
1451
}
1453
}
1452
1454

Return to bug 25252