summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-12-31 00:06:21 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-10 12:36:20 +0100
commit27441887599d7929e53eb7044791ae58ea5aec20 (patch)
tree91163a684ca480d9bc866e519bbdfded286bf2c9
parent7b891693091166123307f6e3023533c8d1d46f99 (diff)
downloadop-kernel-dev-27441887599d7929e53eb7044791ae58ea5aec20.zip
op-kernel-dev-27441887599d7929e53eb7044791ae58ea5aec20.tar.gz
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>
-rw-r--r--include/acpi/acoutput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h
index be014bf..5ef4e57 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)) \
OpenPOWER on IntegriCloud