summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2014-10-31 04:33:51 +0000
committermlarkin <mlarkin@openbsd.org>2014-10-31 04:33:51 +0000
commit99c6407f0231afc703fe7784d7c225d37539c060 (patch)
treeb10e2876012333ab4890518fc71be134e04abc29
parentXFER_FREE is not used, ciao. (diff)
downloadwireguard-openbsd-99c6407f0231afc703fe7784d7c225d37539c060.tar.xz
wireguard-openbsd-99c6407f0231afc703fe7784d7c225d37539c060.zip
Fix a missing include in amd64 pmap.c that resulted in an erroneous memory
map entry being entered in uniprocessor (UP) kernels. Multiprocessor (MP) kernels not affected. ok guenther, deraadt
-rw-r--r--sys/arch/amd64/amd64/pmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 0b04c24e3cf..6c1a932f0bc 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.75 2014/10/18 17:28:34 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.76 2014/10/31 04:33:51 mlarkin Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -121,6 +121,8 @@
#include <dev/isa/isareg.h>
#include <machine/isa_machdep.h>
+#include "acpi.h"
+
/*
* general info:
*