diff options
author | bde <bde@FreeBSD.org> | 2000-05-31 13:32:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-05-31 13:32:28 +0000 |
commit | 2e4d43a8f4885efc445df4ef9e726f6dbc043e5f (patch) | |
tree | 3993d930cab72e02360484fcad42a623a9d54fcf /sys/amd64/isa/nmi.c | |
parent | 3b7e236de2f9883b0ae23d1825e6e352f9cd9e27 (diff) | |
download | FreeBSD-src-2e4d43a8f4885efc445df4ef9e726f6dbc043e5f.zip FreeBSD-src-2e4d43a8f4885efc445df4ef9e726f6dbc043e5f.tar.gz |
Add SWI_TQ_MASK to all interrupt masks except SWI_CLOCK_MASK. Use a
new macro SWI_LOW_MASK to give the mask for low priority SWIs instead
of hard-coding this mask as SWI_CLOCK_MASK.
Reviewed by: dfr
Diffstat (limited to 'sys/amd64/isa/nmi.c')
-rw-r--r-- | sys/amd64/isa/nmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index f9eb11b..9c3ce45 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -340,7 +340,7 @@ update_intr_masks(void) maskptr = intr_mptr[intr]; if (!maskptr) continue; - *maskptr |= SWI_CLOCK_MASK | (1 << intr); + *maskptr |= SWI_LOW_MASK | (1 << intr); mask = *maskptr; if (mask != intr_mask[intr]) { #if 0 @@ -427,7 +427,7 @@ icu_setup(int intr, inthand2_t *handler, void *arg, u_int *maskptr, int flags) disable_intr(); intr_handler[intr] = handler; intr_mptr[intr] = maskptr; - intr_mask[intr] = mask | SWI_CLOCK_MASK | (1 << intr); + intr_mask[intr] = mask | SWI_LOW_MASK | (1 << intr); intr_unit[intr] = arg; #ifdef FAST_HI if (flags & INTR_FAST) { |