mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
ACPICA: Update ACPI_IS_DEBUG_ENABLED macro.
Add extra parens to allow use of !ACPI_IS_DEBUG_ENABLED. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
7b89169309
commit
2744188759
@ -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)) \
|
||||
|
Loading…
Reference in New Issue
Block a user