ACPICA: Linux: Enable ACPI_MUTEX_DEBUG for Linux kernel
authorLv Zheng <lv.zheng@intel.com>
Tue, 5 Jul 2016 05:53:04 +0000 (13:53 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jul 2016 20:49:24 +0000 (22:49 +0200)
This patch enables ACPI_MUTEX_DEBUG for Linux kernel so that the ACPICA
lock order issues can be captured by ACPICA itself.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/platform/aclinux.h

index 45c2d65..93b61b1 100644 (file)
 #define ACPI_DEBUGGER
 #endif
 
+#ifdef CONFIG_ACPI_DEBUG
+#define ACPI_MUTEX_DEBUG
+#endif
+
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/ctype.h>