diff options
author | 2007-02-19 20:44:24 +0000 | |
---|---|---|
committer | 2007-02-19 20:44:24 +0000 | |
commit | 5c95086283edcc5499fa3904aaea2ee06c5069cd (patch) | |
tree | 5fb65614836e63c4123f04f19afe77274187d1c5 | |
parent | wording fix from wiz@netbsd, -r1.11; (diff) | |
download | wireguard-openbsd-5c95086283edcc5499fa3904aaea2ee06c5069cd.tar.xz wireguard-openbsd-5c95086283edcc5499fa3904aaea2ee06c5069cd.zip |
Put warning about shared IPL interrupts under MPVERBOSE and don't talk about
degraded performance.
requested by deraadt@
-rw-r--r-- | sys/arch/i386/i386/ioapic.c | 8 |
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 |