summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/mpbios.c4
-rw-r--r--sys/arch/i386/i386/mpbios.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c
index 5c083546a10..eac82d43701 100644
--- a/sys/arch/amd64/amd64/mpbios.c
+++ b/sys/arch/amd64/amd64/mpbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbios.c,v 1.24 2014/12/09 06:58:28 doug Exp $ */
+/* $OpenBSD: mpbios.c,v 1.25 2015/06/07 12:16:27 jsg Exp $ */
/* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */
/*-
@@ -1019,6 +1019,8 @@ mpbios_int(const u_int8_t *ent, int enttype, struct mp_intr_map *mpi)
case MPS_INTTYPE_NMI:
mpb = &nmi_bus;
break;
+ default:
+ panic("unknown MPS interrupt type %d", entry->int_type);
}
mpi->bus = mpb;
mpi->bus_pin = dev;
diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c
index 915dc47231e..c742166e0be 100644
--- a/sys/arch/i386/i386/mpbios.c
+++ b/sys/arch/i386/i386/mpbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbios.c,v 1.37 2014/12/09 06:58:28 doug Exp $ */
+/* $OpenBSD: mpbios.c,v 1.38 2015/06/07 12:16:27 jsg Exp $ */
/* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */
/*-
@@ -1088,6 +1088,8 @@ mpbios_int(const u_int8_t *ent, struct mp_intr_map *mpi)
case MPS_INTTYPE_NMI:
mpb = &nmi_bus;
break;
+ default:
+ panic("unknown MPS interrupt type %d", entry->int_type);
}
mpi->bus = mpb;
mpi->bus_pin = dev;