From: Jaswinder Singh Rajput Date: Mon, 29 Dec 2008 15:06:40 +0000 (+0530) Subject: x86: efi.c declare add_efi_memmap before they get used X-Git-Tag: v2.6.29-rc1~536^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cbafbc826bf645f7fbbfbb2ff20138e5ccb4700e;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index a2e545c91c3..ca5ffb2856b 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -90,6 +90,7 @@ extern void __iomem *efi_ioremap(unsigned long addr, unsigned long size); #endif /* CONFIG_X86_32 */ +extern int add_efi_memmap; extern void efi_reserve_early(void); extern void efi_call_phys_prelog(void); extern void efi_call_phys_epilog(void);