diff options
author | Bob Moore <robert.moore@intel.com> | 2012-12-31 00:06:21 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 12:36:20 +0100 |
commit | 27441887599d7929e53eb7044791ae58ea5aec20 (patch) | |
tree | 91163a684ca480d9bc866e519bbdfded286bf2c9 /include/acpi/acoutput.h | |
parent | 7b891693091166123307f6e3023533c8d1d46f99 (diff) |
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>
Diffstat (limited to 'include/acpi/acoutput.h')
-rw-r--r-- | include/acpi/acoutput.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index be014bf7efe..5ef4e57adc9 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h @@ -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)) \ |