Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e319af1d8722bc3fb61ed6968c88bb66fbb3f58e
Commit:     e319af1d8722bc3fb61ed6968c88bb66fbb3f58e
Parent:     405e494d91bac85cc992f55ad434b0f325e399a5
Author:     Prarit Bhargava <[EMAIL PROTECTED]>
AuthorDate: Wed May 2 19:27:05 2007 +0200
Committer:  Andi Kleen <[EMAIL PROTECTED]>
CommitDate: Wed May 2 19:27:05 2007 +0200

    [PATCH] i386: Add __init to probe_bigsmp
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
---
 arch/i386/mach-generic/bigsmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/mach-generic/bigsmp.c b/arch/i386/mach-generic/bigsmp.c
index 8a210fa..e932d34 100644
--- a/arch/i386/mach-generic/bigsmp.c
+++ b/arch/i386/mach-generic/bigsmp.c
@@ -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;
-
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