Skip to contentSkip to conversation

: Resubmitting: Add __init to probe_bigsmp

PATCH New Prarit Bhargava 1 participant 1 message Mar 21, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : 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.

arch/i386/mach-generic/bigsmp.c +1 -1
@@ -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;