Browse Source

ACPICA: Linux: Enable ACPI_MUTEX_DEBUG for Linux kernel

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>
Lv Zheng 9 years ago
parent
commit
b4219a898f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/acpi/platform/aclinux.h

+ 4 - 0
include/acpi/platform/aclinux.h

@@ -73,6 +73,10 @@
 #define ACPI_DEBUGGER
 #define ACPI_DEBUGGER
 #endif
 #endif
 
 
+#ifdef CONFIG_ACPI_DEBUG
+#define ACPI_MUTEX_DEBUG
+#endif
+
 #include <linux/string.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/ctype.h>
 #include <linux/ctype.h>