Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2011 17:45:11 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224681 - head/sys/sparc64/sparc64
Message-ID:  <201108061745.p76HjBXo061095@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Aug  6 17:45:11 2011
New Revision: 224681
URL: http://svn.freebsd.org/changeset/base/224681

Log:
  Remove a shortcut which is invalid with MAXCPU > IDR_CHEETAH_MAX_BN_PAIRS.
  
  Approved by:	re (kib)

Modified:
  head/sys/sparc64/sparc64/mp_machdep.c

Modified: head/sys/sparc64/sparc64/mp_machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/mp_machdep.c	Sat Aug  6 15:59:54 2011	(r224680)
+++ head/sys/sparc64/sparc64/mp_machdep.c	Sat Aug  6 17:45:11 2011	(r224681)
@@ -702,9 +702,6 @@ cheetah_ipi_selected(cpuset_t cpus, u_lo
 		    IDR_CHEETAH_ALL_BUSY) != 0)
 			;
 		intr_restore(s);
-		if ((ids &
-		    (IDR_CHEETAH_ALL_BUSY | IDR_CHEETAH_ALL_NACK)) == 0)
-			return;
 		bnp = 0;
 		for (cpu = 0; cpu < mp_ncpus; cpu++) {
 			if (CPU_ISSET(cpu, &cpus)) {
@@ -713,11 +710,6 @@ cheetah_ipi_selected(cpuset_t cpus, u_lo
 				bnp++;
 			}
 		}
-		/*
-		 * On at least Fire V880 we may receive IDR_NACKs for
-		 * CPUs we actually haven't tried to send an IPI to,
-		 * but which apparently can be safely ignored.
-		 */
 		if (CPU_EMPTY(&cpus))
 			return;
 		/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108061745.p76HjBXo061095>