Commit b7a732a7 authored by Jon Hunter's avatar Jon Hunter Committed by Rafael J. Wysocki
Browse files

ACPI: APEI: Don't warn if ACPI is disabled



If ACPI is not enabled but support for ACPI and APEI is enabled in the
kernel, then the following warning is seen on boot ...

 WARNING KERN EINJ: ACPI disabled.

For ARM64 platforms, the 'acpi_disabled' variable is true by default
and hence, the above is often seen on ARM64. Given that it can be
normal for ACPI to be disabled, make this an informational print rather
that a warning.

Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent d07f6ca9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -673,7 +673,7 @@ static int __init einj_init(void)
	struct apei_exec_context ctx;

	if (acpi_disabled) {
		pr_warn("ACPI disabled.\n");
		pr_info("ACPI disabled.\n");
		return -ENODEV;
	}