patch-2.4.2 linux/arch/mips64/kernel/smp.c

Next file: linux/arch/mips64/lib/Makefile
Previous file: linux/arch/mips64/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/arch/mips64/kernel/smp.c linux/arch/mips64/kernel/smp.c
@@ -57,7 +57,7 @@
 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;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)