ACPICA: DEBUG_PRINT macros: Update to improve performance.
authorBob Moore <robert.moore@intel.com>
Mon, 31 Dec 2012 00:06:04 +0000 (00:06 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:20 +0000 (12:36 +0100)
commitad5a06f2969763059bb26399fa97569385074e01
tree604d9954457d47cd607e97d0da6de851ece519ee
parent0fdce47677be8d86408d2beef6fda3dc4c7edf56
ACPICA: DEBUG_PRINT macros: Update to improve performance.

Move check for "debug enable" to before the actual call to the
debug print routine. Improves time of ASLTS by about 15%.  Also,
remove "safe" exit macros since no complex expressions are ever
used in the return statements.

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>
drivers/acpi/acpica/acmacros.h
include/acpi/acoutput.h