From e59c6bdadc7ee647f2ac508a3d1c210b89a680b1 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Thu, 6 Feb 2014 20:34:28 +0800 Subject: [PATCH] acpica: Disable debug message by default --- sys/contrib/dev/acpica/source/include/acoutput.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/contrib/dev/acpica/source/include/acoutput.h b/sys/contrib/dev/acpica/source/include/acoutput.h index e7b1248b01..359db11f45 100644 --- a/sys/contrib/dev/acpica/source/include/acoutput.h +++ b/sys/contrib/dev/acpica/source/include/acoutput.h @@ -219,7 +219,6 @@ #define ACPI_ERROR(plist) AcpiError plist #define ACPI_BIOS_WARNING(plist) AcpiBiosWarning plist #define ACPI_BIOS_ERROR(plist) AcpiBiosError plist -#define ACPI_DEBUG_OBJECT(obj,l,i) AcpiExDoDebugObject(obj,l,i) #else @@ -231,10 +230,15 @@ #define ACPI_ERROR(plist) #define ACPI_BIOS_WARNING(plist) #define ACPI_BIOS_ERROR(plist) -#define ACPI_DEBUG_OBJECT(obj,l,i) #endif /* ACPI_NO_ERROR_MESSAGES */ +#ifdef ACPI_DEBUG_MESSAGE +#define ACPI_DEBUG_OBJECT(obj,l,i) AcpiExDoDebugObject(obj,l,i) +#else +#define ACPI_DEBUG_OBJECT(obj,l,i) +#endif + /* * Debug macros that are conditionally compiled -- 2.41.0