svn commit: r193153 - head/sys/i386/xen

Adrian Chadd adrian at FreeBSD.org
Sun May 31 07:25:25 UTC 2009


Author: adrian
Date: Sun May 31 07:25:24 2009
New Revision: 193153
URL: http://svn.freebsd.org/changeset/base/193153

Log:
  Remove some unused code in ipi_selected() .
  
  The code path this was copied from (sys/i386/i386/mp_machdep.c:ipi_selected())
  handles bitmap'ed IPIs and normal IPIs via separate notification paths. Xen
  SMP handles them the same way.

Modified:
  head/sys/i386/xen/mp_machdep.c

Modified: head/sys/i386/xen/mp_machdep.c
==============================================================================
--- head/sys/i386/xen/mp_machdep.c	Sun May 31 06:58:35 2009	(r193152)
+++ head/sys/i386/xen/mp_machdep.c	Sun May 31 07:25:24 2009	(r193153)
@@ -1146,11 +1146,6 @@ ipi_selected(cpumask_t cpus, u_int ipi)
 void
 ipi_all_but_self(u_int ipi)
 {
-
-	if (IPI_IS_BITMAPED(ipi) || (ipi == IPI_STOP && stop_cpus_with_nmi)) {
-		ipi_selected(PCPU_GET(other_cpus), ipi);
-		return;
-	}
 	CTR2(KTR_SMP, "%s: ipi: %x", __func__, ipi);
 	ipi_selected(PCPU_GET(other_cpus), ipi);
 }


More information about the svn-src-all mailing list