tree f1d9a3c2346618ccb652374fb38fe7cb2dd903d4
parent edf39fd4daae17827edcdac7a55adf7fad4845f8
author maximilian attems <[EMAIL PROTECTED]> Tue Apr 12 08:26:21 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:26:21 2005

[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 <[EMAIL PROTECTED]>
Acked-by: Randy Dunlap <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 efi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: arch/i386/kernel/efi.c
===================================================================
--- 15d730d588fb6384af9674e26f508ade3906dd9c/arch/i386/kernel/efi.c  
(mode:100644 sha1:c7adacdc820217ce28d34359fc130391e69770e6)
+++ f1d9a3c2346618ccb652374fb38fe7cb2dd903d4/arch/i386/kernel/efi.c  
(mode:100644 sha1:cdfa7ea5e01731877b870b87b3e772e36d207a9a)
@@ -46,8 +46,8 @@
 
 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
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to