summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-06 10:42:35 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-06 10:42:35 +0000
commit9f05449f0e95de456e3f9f42676bb73474ee0c9e (patch)
treeee8afadc6ac033e71853b0a3e646448fabf6e598 /sys
parent84e174d208aa988608c1bf0fd18c0bac6386a452 (diff)
Fix acpi includes.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/machdep.c4
-rw-r--r--sys/arch/i386/i386/machdep.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 8afdc34178d..68345844b9c 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.42 2005/12/16 23:00:03 marco Exp $ */
+/* $OpenBSD: machdep.c,v 1.43 2006/01/06 10:42:34 grange Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -127,7 +127,6 @@
#include <dev/isa/isareg.h>
#include <machine/isa_machdep.h>
#include <dev/ic/i8042reg.h>
-#include <dev/acpi/acpivar.h>
#ifdef DDB
#include <machine/db_machdep.h>
@@ -140,6 +139,7 @@
#include "acpi.h"
#if NACPI > 1
+#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
#endif
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 45404f13716..2cddfaa985e 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.336 2005/12/16 22:43:12 marco Exp $ */
+/* $OpenBSD: machdep.c,v 1.337 2006/01/06 10:42:34 grange Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -134,6 +134,7 @@
#include "acpi.h"
#if NACPI > 0
+#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
#endif