Date: Tue, 5 Apr 2016 00:10:07 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297570 - head/sys/dev/xen/control Message-ID: <201604050010.u350A7tU069085@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604050010.u350A7tU069085>