diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-26 15:22:53 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-26 15:22:53 +0000 |
commit | 748072ba50dbda32fce83ce178f8598c66dc7f9a (patch) | |
tree | 574f10932c102aaa5cefcf2a1c5c4c2edf8662a1 /sys/arch/macppc/dev/openpic.c | |
parent | be52b3b2ed3238076deeb48c7dace07f8fd11811 (diff) |
splclock() should block SPL_BIO - SPL_IMP.
Diffstat (limited to 'sys/arch/macppc/dev/openpic.c')
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c index 3e2f9ebd424..8738953ef25 100644 --- a/sys/arch/macppc/dev/openpic.c +++ b/sys/arch/macppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.9 2002/01/21 05:11:29 drahn Exp $ */ +/* $OpenBSD: openpic.c,v 1.10 2002/01/26 15:22:52 drahn Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -377,15 +377,14 @@ intr_calculatemasks() /* * There are tty, network and disk drivers that use free() at interrupt * time, so imp > (tty | net | bio). - */ - imask[IPL_IMP] |= imask[IPL_TTY] | imask[IPL_NET] | imask[IPL_BIO]; - - /* + * * Enforce a hierarchy that gives slow devices a better chance at not * dropping data. */ - imask[IPL_TTY] |= imask[IPL_NET] | imask[IPL_BIO]; imask[IPL_NET] |= imask[IPL_BIO]; + imask[IPL_TTY] |= imask[IPL_NET]; + imask[IPL_IMP] |= imask[IPL_TTY]; + imask[IPL_CLOCK] |= imask[IPL_IMP] | SPL_CLOCK; /* * These are pseudo-levels. |