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

This commit is contained in:
itojun 2003-08-27 11:38:54 +00:00
parent 41fc0f3e23
commit ffb2df7cd0
1 changed files with 3 additions and 3 deletions

View File

@ -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. * Copyright 2001 Wasabi Systems, Inc.
@ -40,7 +40,7 @@
*/ */
#include <sys/cdefs.h> #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/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -118,9 +118,9 @@ acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber,
#ifdef MPACPI #ifdef MPACPI
int i, h; int i, h;
struct mp_intr_map *mip; struct mp_intr_map *mip;
#endif
#if NIOAPIC > 0 #if NIOAPIC > 0
struct ioapic_softc *sc; struct ioapic_softc *sc;
#endif
#endif #endif
if (acpi_intrcold) { if (acpi_intrcold) {