diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-07-05 01:53:04 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-15 16:49:24 -0400 |
commit | b4219a898f487f454f4b58b0906d9e035ea58a12 (patch) | |
tree | dea6ad0b9332fc45bb869ecc78ca1e3fc09efd89 /include/acpi | |
parent | 92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff) |
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>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/platform/aclinux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 45c2d6528829..93b61b1f2beb 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -73,6 +73,10 @@ | |||
73 | #define ACPI_DEBUGGER | 73 | #define ACPI_DEBUGGER |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #ifdef CONFIG_ACPI_DEBUG | ||
77 | #define ACPI_MUTEX_DEBUG | ||
78 | #endif | ||
79 | |||
76 | #include <linux/string.h> | 80 | #include <linux/string.h> |
77 | #include <linux/kernel.h> | 81 | #include <linux/kernel.h> |
78 | #include <linux/ctype.h> | 82 | #include <linux/ctype.h> |