[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070428175249.8A534151D1@wotan.suse.de>
Date: Sat, 28 Apr 2007 19:52:49 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: Prarit Bhargava <prarit@...hat.com>, linux-kernel@...r.kernel.org,
patches@...-64.org
Subject: [PATCH] [24/35] i386: Add __init to probe_bigsmp
From: Prarit Bhargava <prarit@...hat.com>
Add __init to probe_bigsmp. All callers are __init and data being examined
is __initdata.
Resolves MODPOST warning similar to:
WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'probe_bigsmp' (at offset 0xc0401e56) and 'init_apic_ldr'
Signed-off-by: Prarit Bhargava <prarit@...hat.com>
Signed-off-by: Andi Kleen <ak@...e.de>
---
arch/i386/mach-generic/bigsmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/i386/mach-generic/bigsmp.c
===================================================================
--- linux.orig/arch/i386/mach-generic/bigsmp.c
+++ linux/arch/i386/mach-generic/bigsmp.c
@@ -45,7 +45,7 @@ static struct dmi_system_id __initdata b
};
-static int probe_bigsmp(void)
+static int __init probe_bigsmp(void)
{
if (def_to_bigsmp)
dmi_bigsmp = 1;
-
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