]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] i386: Add __init to probe_bigsmp
authorPrarit Bhargava <prarit@redhat.com>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
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@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/mach-generic/bigsmp.c

index 8a210fa915b5fd300e1a9ef0771bbdcb354ecadd..e932d3485ae2526a91c4122e49b3ae59e6aeaf9d 100644 (file)
@@ -45,7 +45,7 @@ static struct dmi_system_id __initdata bigsmp_dmi_table[] = {
 };
 
 
-static int probe_bigsmp(void)
+static int __init probe_bigsmp(void)
 { 
        if (def_to_bigsmp)
                dmi_bigsmp = 1;