summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-03-19 10:56:28 +0000
committerdfr <dfr@FreeBSD.org>1999-03-19 10:56:28 +0000
commitdab08467c189e3307974f2abe028cba109413eca (patch)
tree99f5ac8a67005c2d5104076169dd46e8fd517652 /sys/alpha
parent2dae5ffd5c4c68c1cd320125a65923ddf159be24 (diff)
downloadFreeBSD-src-dab08467c189e3307974f2abe028cba109413eca.zip
FreeBSD-src-dab08467c189e3307974f2abe028cba109413eca.tar.gz
Don't lower the ipl for splsoftcam, splsoftvm and splsoftnet.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/ipl_funcs.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/alpha/alpha/ipl_funcs.c b/sys/alpha/alpha/ipl_funcs.c
index 815f7f7..33042be 100644
--- a/sys/alpha/alpha/ipl_funcs.c
+++ b/sys/alpha/alpha/ipl_funcs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ipl_funcs.c,v 1.8 1998/09/26 14:25:32 dfr Exp $
+ * $Id: ipl_funcs.c,v 1.9 1998/12/24 06:05:48 mjacob Exp $
*/
#include <sys/types.h>
@@ -38,6 +38,7 @@
unsigned int bio_imask; /* XXX */
unsigned int cam_imask; /* XXX */
unsigned int net_imask; /* XXX */
+unsigned int tty_imask; /* XXX */
static void swi_net(void);
@@ -127,7 +128,7 @@ do_sir()
int i;
splsoft();
- while (pend = atomic_readandclear(&ipending)) {
+ while ((pend = atomic_readandclear(&ipending)) != 0) {
for (i = 0; pend && i < 32; i++) {
if (pend & (1 << i)) {
if (ihandlers[i] == swi_generic)
@@ -172,9 +173,6 @@ int name(void) \
}
SPLDOWN(splsoftclock, SOFT)
-SPLDOWN(splsoftnet, SOFT)
-SPLDOWN(splsoftcam, SOFT)
-SPLDOWN(splsoftvm, SOFT)
SPLDOWN(splsoft, SOFT)
#define SPLUP(name, pri) \
@@ -189,6 +187,9 @@ int name(void) \
return cpl; \
}
+SPLUP(splsoftcam, SOFT)
+SPLUP(splsoftnet, SOFT)
+SPLUP(splsoftvm, SOFT)
SPLUP(splnet, IO)
SPLUP(splbio, IO)
SPLUP(splcam, IO)
OpenPOWER on IntegriCloud