diff options
author | Bob Moore <robert.moore@intel.com> | 2012-12-31 01:06:10 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 12:36:20 +0100 |
commit | db38bf5a57a955975986b514c6bbd7cb324fddc3 (patch) | |
tree | 0d9f828f725be19ed931b964f92a891873079ab9 /drivers/acpi/acpica/utaddress.c | |
parent | ACPICA: DEBUG_PRINT macros: Update to improve performance. (diff) | |
download | linux-db38bf5a57a955975986b514c6bbd7cb324fddc3.tar.xz linux-db38bf5a57a955975986b514c6bbd7cb324fddc3.zip |
ACPICA: FUNCTION_TRACE macros: Check if debug is enabled up-front.
In the functions that implement the macros, check if debug
is enabled up-front before the call to the lower debug print
function. This provides a small performance improvement.
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 'drivers/acpi/acpica/utaddress.c')
0 files changed, 0 insertions, 0 deletions