diff options
author | Bob Moore <robert.moore@intel.com> | 2012-12-30 19:06:21 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 06:36:20 -0500 |
commit | 27441887599d7929e53eb7044791ae58ea5aec20 (patch) | |
tree | 91163a684ca480d9bc866e519bbdfded286bf2c9 /include/acpi | |
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')
-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 be014bf7efe5..5ef4e57adc9e 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
@@ -286,7 +286,7 @@ | |||
286 | /* Helper macros for DEBUG_PRINT */ | 286 | /* Helper macros for DEBUG_PRINT */ |
287 | 287 | ||
288 | #define ACPI_IS_DEBUG_ENABLED(level, component) \ | 288 | #define ACPI_IS_DEBUG_ENABLED(level, component) \ |
289 | (level & acpi_dbg_level) && (component & acpi_dbg_layer) | 289 | ((level & acpi_dbg_level) && (component & acpi_dbg_layer)) |
290 | 290 | ||
291 | #define ACPI_DEBUG(function, level, line, filename, modulename, component, ...) \ | 291 | #define ACPI_DEBUG(function, level, line, filename, modulename, component, ...) \ |
292 | if (ACPI_IS_DEBUG_ENABLED (level, component)) \ | 292 | if (ACPI_IS_DEBUG_ENABLED (level, component)) \ |