ACPICA: Ensure that debug output is immediately disabled on termination.
authorTomasz Nowicki <tomasz.nowicki@linaro.org>
Tue, 29 Oct 2013 01:28:49 +0000 (09:28 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Oct 2013 11:24:20 +0000 (12:24 +0100)
Set the global debug flag to "no output" when the debugger is shutdown.
ACPICA BZ 1011. Tomasz Nowicki.

Since the debugger is not shipped in the Linux kernel upstream, this
change doesn't affect Linux kernel's behavior.

References: https://bugs.acpica.org/show_bug.cgi?id=1011
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
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/aclocal.h

index be9e30ee60488b7de09a61ea1dd198fe84ebf43b..dafa0f6c5fe80dc73ab63ec118349740069e2b71 100644 (file)
@@ -1094,6 +1094,7 @@ struct acpi_integrity_info {
        u32 objects;
 };
 
+#define ACPI_DB_DISABLE_OUTPUT          0x00
 #define ACPI_DB_REDIRECTABLE_OUTPUT     0x01
 #define ACPI_DB_CONSOLE_OUTPUT          0x02
 #define ACPI_DB_DUPLICATE_OUTPUT        0x03