Skip to content

Commit b7a732a

Browse files
jonhunterrafaeljw
authored andcommitted
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: Jon Hunter <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent d07f6ca commit b7a732a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/apei/einj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ static int __init einj_init(void)
673673
struct apei_exec_context ctx;
674674

675675
if (acpi_disabled) {
676-
pr_warn("ACPI disabled.\n");
676+
pr_info("ACPI disabled.\n");
677677
return -ENODEV;
678678
}
679679

0 commit comments

Comments
 (0)