diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-11 19:57:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-11 19:57:46 +0000 |
commit | c7a410a023fc039f3fc6948063cb1fc0f168baae (patch) | |
tree | 27fdfc1ed41a0be11084b7edbb5514cc06bfb110 | |
parent | 2c14b365917c678b47d96b73b76191d9639b519a (diff) |
One more (!foo & BAR), tested deraadt@
-rw-r--r-- | sys/arch/mips64/mips64/interrupt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/interrupt.c b/sys/arch/mips64/mips64/interrupt.c index eed49306e4d..b7c92014fc9 100644 --- a/sys/arch/mips64/mips64/interrupt.c +++ b/sys/arch/mips64/mips64/interrupt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interrupt.c,v 1.20 2006/03/04 19:33:21 miod Exp $ */ +/* $OpenBSD: interrupt.c,v 1.21 2006/05/11 19:57:45 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -230,7 +230,7 @@ void set_intr(int pri, intrmask_t mask, intrmask_t (*int_hand)(intrmask_t, struct trap_frame *)) { - if (!idle_mask & (SOFT_INT_MASK >> 8)) + if (!(idle_mask & (SOFT_INT_MASK >> 8))) evcount_attach(&soft_count, "soft", (void *)&soft_irq, &evcount_intr); if (pri < 0 || pri >= NLOWINT) { panic("set_intr: to high priority"); |