Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/isa Allow isa_machdep.c to compile in the case ...



details:   https://anonhg.NetBSD.org/src/rev/ca79f688ed41
branches:  trunk
changeset: 446386:ca79f688ed41
user:      cherry <cherry%NetBSD.org@localhost>
date:      Mon Dec 03 19:51:09 2018 +0000

description:
Allow isa_machdep.c to compile in the case of no ioapic support.

diffstat:

 sys/arch/x86/isa/isa_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 321dd1ba5846 -r ca79f688ed41 sys/arch/x86/isa/isa_machdep.c
--- a/sys/arch/x86/isa/isa_machdep.c    Mon Dec 03 19:46:43 2018 +0000
+++ b/sys/arch/x86/isa/isa_machdep.c    Mon Dec 03 19:51:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.c,v 1.40 2018/09/10 07:04:08 cherry Exp $  */
+/*     $NetBSD: isa_machdep.c,v 1.41 2018/12/03 19:51:09 cherry Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.40 2018/09/10 07:04:08 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.41 2018/12/03 19:51:09 cherry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -210,8 +210,8 @@
 {
        struct pic *pic;
        int pin;
+#if NIOAPIC > 0
        intr_handle_t mpih = 0;
-#if NIOAPIC > 0
        struct ioapic_softc *ioapic = NULL;
 #endif
 



Home | Main Index | Thread Index | Old Index