Skip to content

Commit 9b16c21

Browse files
kelleymhliuw
authored andcommitted
arm64: efi: Export screen_info
The Hyper-V frame buffer driver may be built as a module, and it needs access to screen_info. So export screen_info. Signed-off-by: Michael Kelley <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Acked-by: Marc Zyngier <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 9bbb888 commit 9b16c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/efi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ static __init pteval_t create_mapping_protection(efi_memory_desc_t *md)
5555

5656
/* we will fill this structure from the stub, so don't put it in .bss */
5757
struct screen_info screen_info __section(".data");
58+
EXPORT_SYMBOL(screen_info);
5859

5960
int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md)
6061
{

0 commit comments

Comments
 (0)