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 Fix build problem when MPACPI is used witho...
details: https://anonhg.NetBSD.org/src/rev/cb1edc748474
branches: trunk
changeset: 553138:cb1edc748474
user: tron <tron%NetBSD.org@localhost>
date: Fri Oct 10 20:16:54 2003 +0000
description:
Fix build problem when MPACPI is used without ioapic as proposed by
Quentin Garnier on current-users%NetBSD.org@localhost.
diffstat:
sys/arch/x86/x86/acpi_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r da8c97dbaf90 -r cb1edc748474 sys/arch/x86/x86/acpi_machdep.c
--- a/sys/arch/x86/x86/acpi_machdep.c Fri Oct 10 20:08:00 2003 +0000
+++ b/sys/arch/x86/x86/acpi_machdep.c Fri Oct 10 20:16:54 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_machdep.c,v 1.4 2003/09/06 14:38:43 fvdl Exp $ */
+/* $NetBSD: acpi_machdep.c,v 1.5 2003/10/10 20:16:54 tron Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.4 2003/09/06 14:38:43 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.5 2003/10/10 20:16:54 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -116,10 +116,10 @@
struct pic *pic;
int irq, pin, trigger;
struct acpi_intr_defer *aip;
+#if NIOAPIC > 0
#ifdef MPACPI
int i, h;
#endif
-#if NIOAPIC > 0
struct ioapic_softc *sc;
#endif
#if defined(MPACPI) || NIOAPIC > 0
Home |
Main Index |
Thread Index |
Old Index