lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH]: Resubmitting: Add __init to probe_bigsmp
Originally submitted Feb 13, 2007.

Add __init to probe_bigsmp. All callers are __init and data being examined
is __initdata.

Resolves BZ 228543.

Successfully tested by me.

--- linux-2.6.18.i386.orig/arch/i386/mach-generic/bigsmp.c 2007-02-05 13:29:12.000000000 -0500
+++ linux-2.6.18.i386/arch/i386/mach-generic/bigsmp.c 2007-02-13 13:15:06.000000000 -0500
@@ -44,7 +44,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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-03-21 16:15    [W:0.021 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site