diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2011-07-05 20:05:06 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2011-07-05 20:05:06 +0000 |
| commit | 410cde006a7f7e1b4df4eade2358d433bf09df68 (patch) | |
| tree | 7af3feeea8ad0cc2927633ae1ee10c09870579d7 /sys | |
| parent | 0b46b417fc25ecf2de4aaae28ff8b98519f6b1ba (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index 4fc85622b6d0..e5910e06f526 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -139,8 +139,6 @@ static cpu_ipi_single_t spitfire_ipi_single; SYSINIT(cpu_mp_unleash, SI_SUB_SMP, SI_ORDER_FIRST, cpu_mp_unleash, NULL); -CTASSERT(MAXCPU <= IDR_CHEETAH_MAX_BN_PAIRS); - void mp_init(u_int cpu_impl) { @@ -696,6 +694,8 @@ cheetah_ipi_selected(cpuset_t cpus, u_long d0, u_long d1, u_long d2) ASI_SDB_INTR_W, 0); membar(Sync); bnp++; + if (bnp == IDR_CHEETAH_MAX_BN_PAIRS) + break; } } while (((ids = ldxa(0, ASI_INTR_DISPATCH_STATUS)) & |
