Skip to content

Commit 067ab9d

Browse files
kelleymhtyhicks
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 <mikelley@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 16a7518 commit 067ab9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)