summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authormaximilian attems <janitor@sternwelten.at>2005-04-16 15:25:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:53 -0700
commitc41f5eb3b8feb8772561f0e34cfee4de1fa433ec (patch)
tree1eb9e4c30c4b1f7a14731a34adc8f886d8600ccb /arch
parentfca44804508d544b0b9d9d85279e5eea778e4e32 (diff)
[PATCH] efi: eliminate bad section references
Randy please double check especially this one. there may be a better solution. Fix efi section references: remove __initdata for struct efi efi_phys and struct efi_memory_map memmap Error: ./arch/i386/kernel/efi.o .text refers to 000000d3 R_386_32 .init.data Error: ./arch/i386/kernel/efi.o .text refers to 000000ff R_386_32 .init.data efi_memmap_walk (which is not __init nor static) accesses both efi_phys and memmap. Signed-off-by: maximilian attems <janitor@sternwelten.at> Acked-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/efi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/efi.c b/arch/i386/kernel/efi.c
index 9e5e0d8bd36..f732f427b41 100644
--- a/arch/i386/kernel/efi.c
+++ b/arch/i386/kernel/efi.c
@@ -46,8 +46,8 @@ extern efi_status_t asmlinkage efi_call_phys(void *, ...);
struct efi efi;
EXPORT_SYMBOL(efi);
-static struct efi efi_phys __initdata;
-struct efi_memory_map memmap __initdata;
+static struct efi efi_phys;
+struct efi_memory_map memmap;
/*
* We require an early boot_ioremap mapping mechanism initially