Skip to content

Commit 98662be

Browse files
committed
LoongArch: Init acpi_gbl_use_global_lock to false
Init acpi_gbl_use_global_lock to false, in order to void error messages during boot phase: ACPI Error: Could not enable GlobalLock event (20240827/evxfevnt-182) ACPI Error: No response from Global Lock hardware, disabling lock (20240827/evglock-59) Fixes: 628c3bb ("LoongArch: Add boot and setup routines") Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent 19baac3 commit 98662be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/loongarch/kernel/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ void __init platform_init(void)
355355

356356
#ifdef CONFIG_ACPI
357357
acpi_table_upgrade();
358+
acpi_gbl_use_global_lock = false;
358359
acpi_gbl_use_default_register_widths = false;
359360
acpi_boot_table_init();
360361
#endif

0 commit comments

Comments
 (0)