summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1999-02-26 03:42:50 +0000
committertegge <tegge@FreeBSD.org>1999-02-26 03:42:50 +0000
commit21bcdb8f700656a46a377dd23752743fa3f07455 (patch)
treeb79a35cd500d170593b163745fb02a0ef84cea99 /sys/amd64/include
parent1dbce336d1e9feec0a289e82bd3c89fdae1f4549 (diff)
downloadFreeBSD-src-21bcdb8f700656a46a377dd23752743fa3f07455.zip
FreeBSD-src-21bcdb8f700656a46a377dd23752743fa3f07455.tar.gz
Don't call assign_apic_irq with a value for irq that is out of range.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/mptable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index 7785052..6f7c881 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.90 1999/02/19 14:25:32 luoqi Exp $
+ * $Id: mp_machdep.c,v 1.91 1999/02/19 19:34:47 luoqi Exp $
*/
#include "opt_smp.h"
@@ -1090,7 +1090,7 @@ setup_apic_irq_mapping(void)
int_to_apicintpin[x].redirindex = 0;
}
for (x = 0; x < nintrs; x++) {
- if (io_apic_ints[x].dst_apic_int <= APIC_INTMAPSIZE &&
+ if (io_apic_ints[x].dst_apic_int < APIC_INTMAPSIZE &&
io_apic_ints[x].dst_apic_id == IO_TO_ID(0) &&
io_apic_ints[x].int_vector == 0xff &&
(io_apic_ints[x].int_type == 0 ||
OpenPOWER on IntegriCloud