Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: efi.c declare add_efi_memmap before they get used

Impact: cleanup, avoid sparse warning

Fixes this sparse warning:

arch/x86/kernel/efi.c:67:5: warning: symbol 'add_efi_memmap' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
cbafbc82 7f3e632f

+1
+1
arch/x86/include/asm/efi.h
··· 90 90 91 91 #endif /* CONFIG_X86_32 */ 92 92 93 + extern int add_efi_memmap; 93 94 extern void efi_reserve_early(void); 94 95 extern void efi_call_phys_prelog(void); 95 96 extern void efi_call_phys_epilog(void);