summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-07-05 05:53:04 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-15 20:49:24 (GMT)
commitb4219a898f487f454f4b58b0906d9e035ea58a12 (patch)
treedea6ad0b9332fc45bb869ecc78ca1e3fc09efd89 /include
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
downloadlinux-b4219a898f487f454f4b58b0906d9e035ea58a12.tar.xz
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')
-rw-r--r--include/acpi/platform/aclinux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 45c2d65..93b61b1 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -73,6 +73,10 @@
#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>