summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-20 18:41:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-20 18:41:08 +0000
commit98bde83089acb78a73d619de34da67c678906f5c (patch)
tree731ff679e20fe149baacabafff4f0979aeb9619a /sys/arch/sgi/xbow
parentde205eb784cd13060a4e090ea170659a2d3fcb40 (diff)
Switch sgi to __HAVE_GENERIC_SOFT_INTERRUPTS.
Diffstat (limited to 'sys/arch/sgi/xbow')
-rw-r--r--sys/arch/sgi/xbow/xheart.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sgi/xbow/xheart.c b/sys/arch/sgi/xbow/xheart.c
index 1c11b90b85a..fff89950e47 100644
--- a/sys/arch/sgi/xbow/xheart.c
+++ b/sys/arch/sgi/xbow/xheart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xheart.c,v 1.2 2008/07/28 18:50:59 miod Exp $ */
+/* $OpenBSD: xheart.c,v 1.3 2009/03/20 18:41:07 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -365,7 +365,9 @@ xheart_intr_makemasks(struct xheart_softc *sc)
for (irq = 0; irq < INTMASKSIZE; irq++)
if (intrlevel[irq] & (1 << level))
irqs |= 1 << irq;
- imask[level] = irqs | SINT_ALLMASK;
+ if (level != IPL_NONE)
+ irqs |= SINT_ALLMASK;
+ imask[level] = irqs;
}
/*