From ffb2df7cd0f548752f6c1ac30f6deef8be1c68e8 Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 27 Aug 2003 11:38:54 +0000 Subject: [PATCH] variable 'sc' needed in MPACPI case (what should we do about NIOAPIC?) --- sys/arch/x86/x86/acpi_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/x86/x86/acpi_machdep.c b/sys/arch/x86/x86/acpi_machdep.c index 228c8afb3ea9..ae9014bc9fa1 100644 --- a/sys/arch/x86/x86/acpi_machdep.c +++ b/sys/arch/x86/x86/acpi_machdep.c @@ -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 -__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 #include @@ -118,9 +118,9 @@ acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber, #ifdef MPACPI int i, h; struct mp_intr_map *mip; -#endif #if NIOAPIC > 0 struct ioapic_softc *sc; +#endif #endif if (acpi_intrcold) {