Commit 98662be7 authored by Huacai Chen's avatar Huacai Chen
Browse files

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: 628c3bb4 ("LoongArch: Add boot and setup routines")
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 19baac37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -355,6 +355,7 @@ void __init platform_init(void)

#ifdef CONFIG_ACPI
	acpi_table_upgrade();
	acpi_gbl_use_global_lock = false;
	acpi_gbl_use_default_register_widths = false;
	acpi_boot_table_init();
#endif