projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44a01f1
)
LoongArch: Add a missing call to efi_esrt_init()
author
Huacai Chen
<chenhuacai@loongson.cn>
Wed, 17 Jan 2024 04:43:08 +0000
(12:43 +0800)
committer
Huacai Chen
<chenhuacai@loongson.cn>
Wed, 17 Jan 2024 04:43:08 +0000
(12:43 +0800)
ESRT (EFI System Resource Table) is needed for UEFI's "Capsule Update"
feature. But ESRT initialization is missing on LoongArch now, so add a
call to efi_esrt_init() at the end of efi_init().
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/efi.c
patch
|
blob
|
history
diff --git
a/arch/loongarch/kernel/efi.c
b/arch/loongarch/kernel/efi.c
index acb5d3385675c974d98a71b8b659ed1088914acd..000825406c1f62cdebd32e79714738987d20d5cc 100644
(file)
--- a/
arch/loongarch/kernel/efi.c
+++ b/
arch/loongarch/kernel/efi.c
@@
-140,4
+140,6
@@
void __init efi_init(void)
early_memunmap(tbl, sizeof(*tbl));
}
+
+ efi_esrt_init();
}