ACPICA: Debug output: Do not emit function nesting level for kernel build.
authorBob Moore <robert.moore@intel.com>
Thu, 21 Nov 2013 04:17:20 +0000 (12:17 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Nov 2013 12:47:03 +0000 (13:47 +0100)
commitbf9b448ef8430548d0608a38ebddbf7f6ca14ed1
treeec062e2629f4ea18a8ade825ba8c84c09a46e2b6
parent45c9f78b25ad9ce6cdf259ac4b652e6783adcb23
ACPICA: Debug output: Do not emit function nesting level for kernel build.

The nesting level is really only useful during a single-thread
execution. Therefore, only enable this output for the AcpiExec
utility. Also, only emit the thread ID when executing under AcpiExec.
(Context switches are still detected and a message is emitted.)
ACPICA BZ 972.

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/utdebug.c