From: Lv Zheng Date: Tue, 5 Jul 2016 05:53:04 +0000 (+0800) Subject: ACPICA: Linux: Enable ACPI_MUTEX_DEBUG for Linux kernel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b4219a898f487f454f4b58b0906d9e035ea58a12;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rafael J. Wysocki --- 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 #include #include