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

Commit e9a6cb96 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar
Browse files

x86: do not clear cpu_online_map



it was already cleared two lines above, and so, this removal
is bogus

Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 045f9d22
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1073,8 +1073,7 @@ int __cpu_disable(void)


	remove_cpu_from_maps(cpu);
	remove_cpu_from_maps(cpu);
	fixup_irqs(map);
	fixup_irqs(map);
	/* It's now safe to remove this processor from the online map */

	cpu_clear(cpu, cpu_online_map);
	return 0;
	return 0;
}
}