summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4d_smp.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2006-08-25 16:22:21 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-26 17:52:56 -0700
commit5fec811e99bb6f537e67b6bcbe9fe6505aa8a114 (patch)
tree9c4dcefe198ef7df3283518d3cc1629857aa7604 /arch/sparc/kernel/sun4d_smp.c
parenta23b423ec0573ead85e2c92f2a5df5d4bf47e26b (diff)
downloadblackbird-obmc-linux-5fec811e99bb6f537e67b6bcbe9fe6505aa8a114.tar.gz
blackbird-obmc-linux-5fec811e99bb6f537e67b6bcbe9fe6505aa8a114.zip
[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>
Diffstat (limited to 'arch/sparc/kernel/sun4d_smp.c')
-rw-r--r--arch/sparc/kernel/sun4d_smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c
index ba843f6a2832..3ff4edd32815 100644
--- a/arch/sparc/kernel/sun4d_smp.c
+++ b/arch/sparc/kernel/sun4d_smp.c
@@ -42,7 +42,7 @@ extern ctxd_t *srmmu_ctx_table_phys;
extern void calibrate_delay(void);
-extern volatile int smp_processors_ready;
+static volatile int smp_processors_ready = 0;
static int smp_highest_cpu;
extern volatile unsigned long cpu_callin_map[NR_CPUS];
extern cpuinfo_sparc cpu_data[NR_CPUS];
OpenPOWER on IntegriCloud