summaryrefslogtreecommitdiffstats
path: root/sys/mips/sibyte
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-09-15 05:10:50 +0000
committerneel <neel@FreeBSD.org>2010-09-15 05:10:50 +0000
commit310427c33e7d4bd3df3c7c5a08499afbac0736df (patch)
tree1961e26f310e8cc87db629c9886a6e7024d7b00b /sys/mips/sibyte
parent2773ca57a0a72cdd7d5dcb692cb53f725d7415d5 (diff)
downloadFreeBSD-src-310427c33e7d4bd3df3c7c5a08499afbac0736df.zip
FreeBSD-src-310427c33e7d4bd3df3c7c5a08499afbac0736df.tar.gz
Make the meaning of the 'mask' argument to 'set_intr_mask(mask)' consistent
with the meaning of IM bits in the status register. Reviewed by: jmallett, jchandra
Diffstat (limited to 'sys/mips/sibyte')
-rw-r--r--sys/mips/sibyte/sb_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/sibyte/sb_machdep.c b/sys/mips/sibyte/sb_machdep.c
index 45f39e8..ba4b62e9 100644
--- a/sys/mips/sibyte/sb_machdep.c
+++ b/sys/mips/sibyte/sb_machdep.c
@@ -370,7 +370,7 @@ platform_init_ap(int cpuid)
*/
clock_int_mask = hard_int_mask(5);
ipi_int_mask = hard_int_mask(platform_ipi_intrnum());
- set_intr_mask(MIPS_SR_INT_MASK & ~(ipi_int_mask | clock_int_mask));
+ set_intr_mask(ipi_int_mask | clock_int_mask);
}
int
OpenPOWER on IntegriCloud