[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080110143214.8be8bb4c.randy.dunlap@oracle.com>
Date: Thu, 10 Jan 2008 14:32:14 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: samr <sam@...nborg.org>, mingo@...hat.com,
tglx <tglx@...utronix.de>, akpm <akpm@...ux-foundation.org>
Subject: [PATCH] x86: discover_ebda section mismatch
From: Randy Dunlap <randy.dunlap@...cle.com>
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 <randy.dunlap@...cle.com>
---
arch/x86/kernel/setup_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.24-rc7-git1.orig/arch/x86/kernel/setup_64.c
+++ linux-2.6.24-rc7-git1/arch/x86/kernel/setup_64.c
@@ -234,7 +234,7 @@ static inline void __init reserve_crashk
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists