summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-02-19 20:44:25 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-02-19 20:44:25 +0000
commita6d2020801d6fe94c17fce232dcc8e7960a2f2df (patch)
treec11853324baacc5ad79bec7c3b6c95b1843078d6 /sys
parent287e1ae261a459db17a825c39b9e609d1208d177 (diff)
Put warning about shared IPL interrupts under MPVERBOSE and don't talk about
degraded performance. requested by deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/ioapic.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/ioapic.c b/sys/arch/i386/i386/ioapic.c
index fa719aa3099..2402764105d 100644
--- a/sys/arch/i386/i386/ioapic.c
+++ b/sys/arch/i386/i386/ioapic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioapic.c,v 1.11 2006/06/12 04:41:30 gwk Exp $ */
+/* $OpenBSD: ioapic.c,v 1.12 2007/02/19 20:44:24 kettenis Exp $ */
/* $NetBSD: ioapic.c,v 1.7 2003/07/14 22:32:40 lukem Exp $ */
/*-
@@ -488,10 +488,12 @@ apic_vectorset(struct ioapic_softc *sc, int pin, int minlevel, int maxlevel)
pp->ip_maxlevel = 0; /* XXX magic */
pp->ip_vector = 0;
} else if (maxlevel != pp->ip_maxlevel) {
+#ifdef MPVERBOSE
if (minlevel != maxlevel)
printf("%s: pin %d shares different IPL interrupts "
- "(%x..%x), degraded performance\n",
- sc->sc_dev.dv_xname, pin, minlevel, maxlevel);
+ "(%x..%x)\n", sc->sc_dev.dv_xname, pin,
+ minlevel, maxlevel);
+#endif
/*
* Allocate interrupt vector at the *lowest* priority level