提交 27441887 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

ACPICA: Update ACPI_IS_DEBUG_ENABLED macro.

Add extra parens to allow use of !ACPI_IS_DEBUG_ENABLED.
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册