Module Name: src
Committed By: jmcneill
Date: Fri Oct 15 19:01:52 UTC 2021
Modified Files:
src/sys/arch/x86/isa: isa_machdep.c
Log Message:
Add missing acpi include
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/x86/isa/isa_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/isa/isa_machdep.c
diff -u src/sys/arch/x86/isa/isa_machdep.c:1.47 src/sys/arch/x86/isa/isa_machdep.c:1.48
--- src/sys/arch/x86/isa/isa_machdep.c:1.47 Fri Oct 15 18:44:53 2021
+++ src/sys/arch/x86/isa/isa_machdep.c Fri Oct 15 19:01:52 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: isa_machdep.c,v 1.47 2021/10/15 18:44:53 jmcneill Exp $ */
+/* $NetBSD: isa_machdep.c,v 1.48 2021/10/15 19:01:52 jmcneill Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.47 2021/10/15 18:44:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.48 2021/10/15 19:01:52 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -96,6 +96,10 @@ __KERNEL_RCSID(0, "$NetBSD: isa_machdep.
#include <machine/mpbiosvar.h>
#endif
+#if NACPICA > 0
+#include <dev/acpi/acpivar.h>
+#endif
+
static int _isa_dma_may_bounce(bus_dma_tag_t, bus_dmamap_t, int, int *);
struct x86_bus_dma_tag isa_bus_dma_tag = {