summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/efi.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2008-12-29 20:36:40 +0530
committerIngo Molnar <mingo@elte.hu>2008-12-29 18:17:32 +0100
commitcbafbc826bf645f7fbbfbb2ff20138e5ccb4700e (patch)
tree78050518717e02d42cda9da62ec8796aed68cfa4 /arch/x86/include/asm/efi.h
parent7f3e632f9d8d234819bcdef7a68fc8b84f7d3d3d (diff)
downloadblackbird-op-linux-cbafbc826bf645f7fbbfbb2ff20138e5ccb4700e.tar.gz
blackbird-op-linux-cbafbc826bf645f7fbbfbb2ff20138e5ccb4700e.zip
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>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
-rw-r--r--arch/x86/include/asm/efi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h
index a2e545c91c35..ca5ffb2856b6 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);
OpenPOWER on IntegriCloud