Author: jhb Date: Tue Apr 5 00:10:07 2016 New Revision: 297570 URL: https://svnweb.freebsd.org/changeset/base/297570
Log: Remove a redundant check. cpu_suspend_map is always empty if smp_started is false. Sponsored by: Netflix Modified: head/sys/dev/xen/control/control.c Modified: head/sys/dev/xen/control/control.c ============================================================================== --- head/sys/dev/xen/control/control.c Tue Apr 5 00:09:19 2016 (r297569) +++ head/sys/dev/xen/control/control.c Tue Apr 5 00:10:07 2016 (r297570) @@ -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. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"