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

Commit 059c9640 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: mpparse, move disabled cpus to smpboot.c, fix



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 53c4c793
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -196,7 +196,9 @@ static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
	int apicid;

	if (!(m->mpc_cpuflag & CPU_ENABLED)) {
#ifdef CONFIG_X86_SMP
		disabled_cpus++;
#endif
		return;
	}

@@ -901,7 +903,9 @@ void __cpuinit mp_register_lapic (u8 id, u8 enabled)
	}

	if (!enabled) {
#ifdef CONFIG_X86_SMP
		++disabled_cpus;
#endif
		return;
	}