Module Name: src
Committed By: jmcneill
Date: Fri Sep 3 20:44:23 UTC 2021
Modified Files:
src/sys/external/bsd/acpica/dist/include/platform: acnetbsd.h
Log Message:
Only define ACPI_QUIET_BOOT for kernel builds
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 \
src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
diff -u src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.23 src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.24
--- src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.23 Fri Sep 3 11:59:28 2021
+++ src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Fri Sep 3 20:44:23 2021
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acnetbsd.h - OS specific defines, etc.
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
*****************************************************************************/
@@ -85,6 +85,12 @@
#define ACPI_INTERNAL_XFACE
#define ACPI_INTERNAL_VAR_XFACE
+#if defined(_KERNEL)
+/* Suppress ACPI_INFO level log messages in the kernel when this is true */
+#define ACPI_QUIET_BOOT \
+ ((boothowto & (AB_QUIET|AB_SILENT)) != 0)
+#endif
+
/*
* XXX: The internal memory tracking of ACPICA, available when
* ACPI_DBG_TRACK_ALLOCATIONS is defined, has been removed
@@ -145,8 +151,4 @@
#define ACPI_USE_NATIVE_DIVIDE
#define ACPI_USE_NATIVE_MATH64
-/* Suppress ACPI_INFO level log messages when this is true */
-#define ACPI_QUIET_BOOT \
- ((boothowto & (AB_QUIET|AB_SILENT)) != 0)
-
#endif /* __ACNETBSD_H__ */