Commit 987dd2d4 authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar
Browse files

x86: don't call MP_processor_info for disabled cpu

parent 2df29726
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -895,6 +895,10 @@ void __cpuinit mp_register_lapic (u8 id, u8 enabled)
			id, MAX_APICS);
		return;
	}
	if (!enabled) {
		++disabled_cpus;
		return;
	}

	if (id == boot_cpu_physical_apicid)
		boot_cpu = 1;