]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Fix SMP build failure.
authorAndrew Morton <akpm@osdl.org>
Tue, 12 Jul 2005 19:09:43 +0000 (12:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jul 2005 19:09:43 +0000 (12:09 -0700)
arch/sparc64/kernel/smp.c:48: error: parse error before "__attribute__"
arch/sparc64/kernel/smp.c:49: error: parse error before "__attribute__"

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/smp.c

index 441fc2e52ce687194f10bae672edca907a5beca9..7e8e2919e18677e67e5bc7f37c626190cd70a394 100644 (file)
@@ -45,8 +45,8 @@ extern void calibrate_delay(void);
 /* Please don't make this stuff initdata!!!  --DaveM */
 static unsigned char boot_cpu_id;
 
-cpumask_t cpu_online_map = CPU_MASK_NONE __read_mostly;
-cpumask_t phys_cpu_present_map = CPU_MASK_NONE __read_mostly;
+cpumask_t cpu_online_map __read_mostly = CPU_MASK_NONE;
+cpumask_t phys_cpu_present_map __read_mostly = CPU_MASK_NONE;
 static cpumask_t smp_commenced_mask;
 static cpumask_t cpu_callout_map;