summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/efi.c')
-rw-r--r--arch/loongarch/kernel/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/efi.c b/arch/loongarch/kernel/efi.c
index 2bf86aeda874..de21e72759ee 100644
--- a/arch/loongarch/kernel/efi.c
+++ b/arch/loongarch/kernel/efi.c
@@ -95,7 +95,7 @@ static void __init init_screen_info(void)
memset(si, 0, sizeof(*si));
early_memunmap(si, sizeof(*si));
- memblock_reserve(screen_info.lfb_base, screen_info.lfb_size);
+ memblock_reserve(__screen_info_lfb_base(&screen_info), screen_info.lfb_size);
}
void __init efi_init(void)