Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist/include/platform Only define AC...



details:   https://anonhg.NetBSD.org/src/rev/8e19fb637897
branches:  trunk
changeset: 1023326:8e19fb637897
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Sep 03 20:44:23 2021 +0000

description:
Only define ACPI_QUIET_BOOT for kernel builds

diffstat:

 sys/external/bsd/acpica/dist/include/platform/acnetbsd.h |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 20cddd795a36 -r 8e19fb637897 sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
--- a/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h  Fri Sep 03 20:41:19 2021 +0000
+++ b/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h  Fri Sep 03 20:44:23 2021 +0000
@@ -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__ */



Home | Main Index | Thread Index | Old Index