summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-07-05 07:53:04 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-15 22:49:24 +0200
commitb4219a898f487f454f4b58b0906d9e035ea58a12 (patch)
treedea6ad0b9332fc45bb869ecc78ca1e3fc09efd89 /include/acpi
parentLinux 4.7-rc7 (diff)
downloadlinux-b4219a898f487f454f4b58b0906d9e035ea58a12.tar.xz
linux-b4219a898f487f454f4b58b0906d9e035ea58a12.zip
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.h4
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 @@
#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>