Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 variable 'sc' needed in MPACPI case (what s...



details:   https://anonhg.NetBSD.org/src/rev/91a875b7adce
branches:  trunk
changeset: 551009:91a875b7adce
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Aug 27 11:38:54 2003 +0000

description:
variable 'sc' needed in MPACPI case (what should we do about NIOAPIC?)

diffstat:

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

diffs (30 lines):

diff -r ed111904b8ea -r 91a875b7adce sys/arch/x86/x86/acpi_machdep.c
--- a/sys/arch/x86/x86/acpi_machdep.c   Wed Aug 27 10:23:53 2003 +0000
+++ b/sys/arch/x86/x86/acpi_machdep.c   Wed Aug 27 11:38:54 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_machdep.c,v 1.1 2003/05/11 18:21:16 fvdl Exp $    */
+/*     $NetBSD: acpi_machdep.c,v 1.2 2003/08/27 11:38:54 itojun Exp $  */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.1 2003/05/11 18:21:16 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.2 2003/08/27 11:38:54 itojun Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -118,10 +118,10 @@
 #ifdef MPACPI
        int i, h;
        struct mp_intr_map *mip;
-#endif
 #if NIOAPIC > 0
        struct ioapic_softc *sc;
 #endif
+#endif
 
        if (acpi_intrcold) {
                aip = malloc(sizeof(struct acpi_intr_defer), M_TEMP, M_WAITOK);



Home | Main Index | Thread Index | Old Index