summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4d_smp.c
diff options
context:
space:
mode:
authorKrzysztof Helt2006-08-26 01:22:21 +0200
committerDavid S. Miller2006-08-27 02:52:56 +0200
commit5fec811e99bb6f537e67b6bcbe9fe6505aa8a114 (patch)
tree9c4dcefe198ef7df3283518d3cc1629857aa7604 /arch/sparc/kernel/sun4d_smp.c
parent[SPARC]: enabling of the 2nd CPU in 2.6.18-rc4 (diff)
downloadkernel-qcow2-linux-5fec811e99bb6f537e67b6bcbe9fe6505aa8a114.tar.gz
kernel-qcow2-linux-5fec811e99bb6f537e67b6bcbe9fe6505aa8a114.tar.xz
kernel-qcow2-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];