Remove a redundant check.

cpu_suspend_map is always empty if smp_started is false.

Sponsored by:	Netflix
This commit is contained in:
John Baldwin 2016-04-05 00:10:07 +00:00
parent 2f9b9f9c7f
commit b406166f66

View file

@ -260,7 +260,7 @@ xctrl_suspend()
#ifdef SMP
/* Send an IPI_BITMAP in case there are pending bitmap IPIs. */
lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL);
if (smp_started && !CPU_EMPTY(&cpu_suspend_map)) {
if (!CPU_EMPTY(&cpu_suspend_map)) {
/*
* Now that event channels have been initialized,
* resume CPUs.