summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-03 23:52:48 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-03 23:52:48 +0000
commit9193bdff22d3d2b6d612d9d8b4b2bf62f38b79a1 (patch)
treea9a409bb241710e6a125b8773430492e5122460a /arch/mips64/kernel/smp.c
parent825423e4c4f18289df2393951cfd2a7a31fc0464 (diff)
Changes for the sake of IBM's multiqueue scheduler patch.
Diffstat (limited to 'arch/mips64/kernel/smp.c')
-rw-r--r--arch/mips64/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips64/kernel/smp.c b/arch/mips64/kernel/smp.c
index 655d2add2..94673e078 100644
--- a/arch/mips64/kernel/smp.c
+++ b/arch/mips64/kernel/smp.c
@@ -57,7 +57,7 @@ spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED;
int smp_threads_ready; /* Not used */
atomic_t smp_commenced = ATOMIC_INIT(0);
struct cpuinfo_mips cpu_data[NR_CPUS];
-int smp_num_cpus; /* Number that came online. */
+int smp_num_cpus = 1; /* Number that came online. */
int __cpu_number_map[NR_CPUS];
int __cpu_logical_map[NR_CPUS];
cycles_t cacheflush_time;