[SPARC]: Small smp cleanup.

It moves the smp_procesors_ready variable to sun4d_smp.c only.

Signed-off-by: Krzysztof Helt (krzysztof.h1@wp.pl)
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Krzysztof Helt and committed by David S. Miller 5fec811e a23b423e

+1 -4
-1
arch/sparc/kernel/smp.c
··· 34 34 #include <asm/tlbflush.h> 35 35 #include <asm/cpudata.h> 36 36 37 - volatile int smp_processors_ready = 0; 38 37 int smp_num_cpus = 1; 39 38 volatile unsigned long cpu_callin_map[NR_CPUS] __initdata = {0,}; 40 39 unsigned char boot_cpu_id = 0;
+1 -1
arch/sparc/kernel/sun4d_smp.c
··· 42 42 43 43 extern void calibrate_delay(void); 44 44 45 - extern volatile int smp_processors_ready; 45 + static volatile int smp_processors_ready = 0; 46 46 static int smp_highest_cpu; 47 47 extern volatile unsigned long cpu_callin_map[NR_CPUS]; 48 48 extern cpuinfo_sparc cpu_data[NR_CPUS];
-2
arch/sparc/kernel/sun4m_smp.c
··· 39 39 40 40 extern void calibrate_delay(void); 41 41 42 - extern volatile int smp_processors_ready; 43 42 extern volatile unsigned long cpu_callin_map[NR_CPUS]; 44 43 extern unsigned char boot_cpu_id; 45 44 ··· 216 217 } 217 218 218 219 /* Ok, they are spinning and ready to go. */ 219 - smp_processors_ready = 1; 220 220 } 221 221 222 222 /* At each hardware IRQ, we get this called to forward IRQ reception