Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d504e39efd4e64a1a6e01dc85fd8a33fdb196dce
Commit:     d504e39efd4e64a1a6e01dc85fd8a33fdb196dce
Parent:     9d09951da948c0ca30944df2a9b78e68d6e0744c
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:33:05 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:33:05 2008 +0100

    x86: discover_ebda section mismatch
    
    Fix section mismatches.  discover_ebda() can be __init.
    
    WARNING: vmlinux.o(.text+0x738a): Section mismatch: reference to 
.init.data:ebda_addr (between 'discover_ebda' and 'get_model_name')
    WARNING: vmlinux.o(.text+0x73c4): Section mismatch: reference to 
.init.data:ebda_size (between 'discover_ebda' and 'get_model_name')
    
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/kernel/setup_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index a7124bf..07547fe 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -248,7 +248,7 @@ static inline void __init reserve_crashkernel(void)
 unsigned __initdata ebda_addr;
 unsigned __initdata ebda_size;
 
-static void discover_ebda(void)
+static void __init discover_ebda(void)
 {
        /*
         * there is a real-mode segmented pointer pointing to the
-
To unsubscribe from this list: send the line "unsubscribe git-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