summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2018-08-25 17:24:22 +0000
committerkettenis <kettenis@openbsd.org>2018-08-25 17:24:22 +0000
commit5da8fb5553baa047d71ea2154976eb4ce5caff05 (patch)
treef611f71febb4c7bce17a097540b6a3cb158d1ccc
parentfix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in rev (diff)
downloadwireguard-openbsd-5da8fb5553baa047d71ea2154976eb4ce5caff05.tar.xz
wireguard-openbsd-5da8fb5553baa047d71ea2154976eb4ce5caff05.zip
Define __HAVE_ACPI.
ok deraadt@, krw@, jca@
-rw-r--r--sys/arch/amd64/include/param.h4
-rw-r--r--sys/arch/i386/include/param.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h
index ad9f1b2eaa5..fd5ab6d727b 100644
--- a/sys/arch/amd64/include/param.h
+++ b/sys/arch/amd64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.25 2018/03/04 16:44:02 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.26 2018/08/25 17:24:22 kettenis Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -84,6 +84,8 @@
*/
#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
+#define __HAVE_ACPI
+
#endif /* _KERNEL */
#endif /* _MACHINE_PARAM_H_ */
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index fd7088d4a31..8a1a61b165f 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.49 2017/08/16 18:34:10 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.50 2018/08/25 17:24:22 kettenis Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -79,6 +79,8 @@
*/
#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
+#define __HAVE_ACPI
+
#endif /* _KERNEL */
#endif /* _MACHINE_PARAM_H_ */