“f2f865fe6e6e40ddf37f887eb427263d83bb925d”上不存在“arch/x86/kernel/setup.c”
提交 c41f5eb3 编写于 作者: M maximilian attems 提交者: Linus Torvalds

[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: Nmaximilian attems <janitor@sternwelten.at>
Acked-by: NRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 fca44804
...@@ -46,8 +46,8 @@ extern efi_status_t asmlinkage efi_call_phys(void *, ...); ...@@ -46,8 +46,8 @@ extern efi_status_t asmlinkage efi_call_phys(void *, ...);
struct efi efi; struct efi efi;
EXPORT_SYMBOL(efi); EXPORT_SYMBOL(efi);
static struct efi efi_phys __initdata; static struct efi efi_phys;
struct efi_memory_map memmap __initdata; struct efi_memory_map memmap;
/* /*
* We require an early boot_ioremap mapping mechanism initially * We require an early boot_ioremap mapping mechanism initially
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册