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