RE: [PATCH v7 09/10] arm64: efi: Export screen_info
From: Michael Kelley <hidden>
Date: 2020-08-24 17:40:44
Also in:
linux-arch, linux-efi, linux-hyperv, lkml
From: Michael Kelley <hidden>
Date: 2020-08-24 17:40:44
Also in:
linux-arch, linux-efi, linux-hyperv, lkml
From: Greg KH <gregkh@linuxfoundation.org> Sent: Monday, August 24, 2020 10:35 AM
On Mon, Aug 24, 2020 at 09:46:22AM -0700, Michael Kelley wrote:quoted
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 <redacted> --- arch/arm64/kernel/efi.c | 1 + 1 file changed, 1 insertion(+)diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index d0cf596..8ff557a 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c@@ -55,6 +55,7 @@ static __init pteval_tcreate_mapping_protection(efi_memory_desc_t *md)quoted
/* we will fill this structure from the stub, so don't put it in .bss */ struct screen_info screen_info __section(.data); +EXPORT_SYMBOL(screen_info);EXPORT_SYMBOL_GPL()? I have to ask :)
It's also just EXPORT_SYMBOL(screen_info) in the x86, PowerPC, and Alpha architectures. I know that doesn't guarantee it's right, but I'll have to defer to the appropriate subsystem maintainers for whether it really should be EXPORT_SYMBOL_GPL. Michael
thanks, greg k-h
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel