Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ccab29c authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar
Browse files

x86: don't call MP_processor_info for disabled cpu (64bit)

parent 86c9835b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -678,6 +678,10 @@ void __cpuinit mp_register_lapic(u8 id, u8 enabled)
	struct mpc_config_processor processor;
	int boot_cpu = 0;

	if (!enabled) {
		++disabled_cpus;
		return;
	}
	if (id == boot_cpu_physical_apicid)
		boot_cpu = 1;