summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-04 19:12:54 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-04 19:12:54 +0000
commit315ebe1a90da7e179087984d982913bcf7c2324c (patch)
tree62edeeabe72a32872453e16b0da5ec4a1f307cdb /sys/isa
parent986d57f22b3f8697eee257f3f77c5bb9d1d092ef (diff)
downloadFreeBSD-src-315ebe1a90da7e179087984d982913bcf7c2324c.zip
FreeBSD-src-315ebe1a90da7e179087984d982913bcf7c2324c.tar.gz
Added include of intr_machdep.h to eliminate compiler warning for APIC_IO.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 0a9ce1b..55944b2 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.172 1997/07/17 06:01:15 dyson Exp $
+ * $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
*/
#include "opt_comconsole.h"
@@ -82,13 +82,14 @@
#include <pccard/slot.h>
#endif
-#if defined(APIC_IO)
+#ifdef APIC_IO
/*
* INTs are masked in the (global) IO APIC,
* but the IRR register is in each LOCAL APIC,
* so we HAVE to unmask the INT to be able to "see INT pending"
* BUT how do we clear them???
*/
+#include <i386/isa/intr_machdep.h>
#define isa_irq_pending icu_irq_pending
#endif /* APIC_IO */
OpenPOWER on IntegriCloud