summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/kernel/image-vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/image-vars.h')
-rw-r--r--arch/loongarch/kernel/image-vars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/image-vars.h b/arch/loongarch/kernel/image-vars.h
index e561989d02..5087416b96 100644
--- a/arch/loongarch/kernel/image-vars.h
+++ b/arch/loongarch/kernel/image-vars.h
@@ -12,7 +12,9 @@ __efistub_kernel_entry = kernel_entry;
__efistub_kernel_asize = kernel_asize;
__efistub_kernel_fsize = kernel_fsize;
__efistub_kernel_offset = kernel_offset;
+#if defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_SYSFB)
__efistub_screen_info = screen_info;
+#endif
#endif