svn commit: r224681 - head/sys/sparc64/sparc64
Marius Strobl
marius at FreeBSD.org
Sat Aug 6 17:45:12 UTC 2011
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;
/*
More information about the svn-src-head
mailing list