diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-06-20 16:50:44 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-06-20 16:50:44 +0000 |
commit | 796773aef1c85dfd54f8ae6a2fd89459a276b461 (patch) | |
tree | 5b834c2b2a5656b62c6f361d452e474c94ba183b /sys/arch/sgi/localbus | |
parent | 7a248a53ae6ca87c8bf92d9b6864d8bebe26bca1 (diff) |
Make sure IPL_CLOCK blocks device interrupts.
Diffstat (limited to 'sys/arch/sgi/localbus')
-rw-r--r-- | sys/arch/sgi/localbus/macebus.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/sgi/localbus/macebus.c b/sys/arch/sgi/localbus/macebus.c index 695ea79c46a..ca1f67e06f7 100644 --- a/sys/arch/sgi/localbus/macebus.c +++ b/sys/arch/sgi/localbus/macebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macebus.c,v 1.22 2007/06/18 20:24:50 miod Exp $ */ +/* $OpenBSD: macebus.c,v 1.23 2007/06/20 16:50:43 miod Exp $ */ /* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) @@ -560,15 +560,14 @@ macebus_intr_makemasks(void) /* * There are tty, network and disk drivers that use free() at interrupt * time, so imp > (tty | net | bio). - */ - imask[IPL_VM] |= 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_VM] |= imask[IPL_TTY]; + imask[IPL_CLOCK] |= imask[IPL_VM] | SPL_CLOCKMASK; /* * These are pseudo-levels. |