tree 1eb9e4c30c4b1f7a14731a34adc8f886d8600ccb
parent fca44804508d544b0b9d9d85279e5eea778e4e32
author maximilian attems <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:53 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:53 -0700

[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]>

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

Index: arch/i386/kernel/efi.c
===================================================================
--- e9639611c665ada6b209e0c51e4c580e10440cf8/arch/i386/kernel/efi.c  
(mode:100644 sha1:9e5e0d8bd36e0d1bc6b17f31ea45a1014fe4c687)
+++ 1eb9e4c30c4b1f7a14731a34adc8f886d8600ccb/arch/i386/kernel/efi.c  
(mode:100644 sha1:f732f427b418a02672409e8168f7701f032873bc)
@@ -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