]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
efi: Export symbol efi_mem_desc_lookup
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Apr 2025 09:17:04 +0000 (11:17 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 9 Apr 2025 07:03:15 +0000 (09:03 +0200)
Building efidrm as module requires efi_mem_desc_lookup(). Export
the symbol.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250408091837.407401-2-tzimmermann@suse.de
drivers/firmware/efi/efi.c

index 7309394b8fc98cf7a3424af209b752f0251c8c89..e57bff702b5f4fb91478a4afea5ae4e1088e3950 100644 (file)
@@ -558,6 +558,7 @@ int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
 
 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
        __weak __alias(__efi_mem_desc_lookup);
+EXPORT_SYMBOL_GPL(efi_mem_desc_lookup);
 
 /*
  * Calculate the highest address of an efi memory descriptor.