summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-08-04 04:42:49 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-08-12 21:09:32 -0400
commitb5c0875a16039d90f4cdf6b75ae4031daae01d56 (patch)
treef75449efadc9245ddd344c6a24579fed9bb14491 /drivers/acpi/acpica
parent7fdb5cea9bf288eb6408538fa67f1559f433ab9d (diff)
ACPICA: Utilities: Introduce facility to allow Linux to set correct logging levels
ACPICA commit 58c9e7b83ae35247e430c39363f55b6f70fa04a2 It is reported that the logging level of the ACPICA messages are not correct in the Linux kernel. This patch fixes this issue. Lv Zheng. Link: https://github.com/acpica/acpica/commit/58c9e7b8 Link: https://bugzilla.kernel.org/show_bug.cgi?id=117461 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/acutils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h
index 0bb6325508b3..91269a6efded 100644
--- a/drivers/acpi/acpica/acutils.h
+++ b/drivers/acpi/acpica/acutils.h
@@ -114,13 +114,25 @@ extern const char *acpi_gbl_pt_decode[];
114/* 114/*
115 * Common error message prefixes 115 * Common error message prefixes
116 */ 116 */
117#ifndef ACPI_MSG_ERROR
117#define ACPI_MSG_ERROR "ACPI Error: " 118#define ACPI_MSG_ERROR "ACPI Error: "
119#endif
120#ifndef ACPI_MSG_EXCEPTION
118#define ACPI_MSG_EXCEPTION "ACPI Exception: " 121#define ACPI_MSG_EXCEPTION "ACPI Exception: "
122#endif
123#ifndef ACPI_MSG_WARNING
119#define ACPI_MSG_WARNING "ACPI Warning: " 124#define ACPI_MSG_WARNING "ACPI Warning: "
125#endif
126#ifndef ACPI_MSG_INFO
120#define ACPI_MSG_INFO "ACPI: " 127#define ACPI_MSG_INFO "ACPI: "
128#endif
121 129
130#ifndef ACPI_MSG_BIOS_ERROR
122#define ACPI_MSG_BIOS_ERROR "ACPI BIOS Error (bug): " 131#define ACPI_MSG_BIOS_ERROR "ACPI BIOS Error (bug): "
132#endif
133#ifndef ACPI_MSG_BIOS_WARNING
123#define ACPI_MSG_BIOS_WARNING "ACPI BIOS Warning (bug): " 134#define ACPI_MSG_BIOS_WARNING "ACPI BIOS Warning (bug): "
135#endif
124 136
125/* 137/*
126 * Common message suffix 138 * Common message suffix