Commit 27441887 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Update ACPI_IS_DEBUG_ENABLED macro.

Add extra parens to allow use of !ACPI_IS_DEBUG_ENABLED.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 7b891693
......@@ -286,7 +286,7 @@
/* Helper macros for DEBUG_PRINT */
#define ACPI_IS_DEBUG_ENABLED(level, component) \
(level & acpi_dbg_level) && (component & acpi_dbg_layer)
((level & acpi_dbg_level) && (component & acpi_dbg_layer))
#define ACPI_DEBUG(function, level, line, filename, modulename, component, ...) \
if (ACPI_IS_DEBUG_ENABLED (level, component)) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment