patch-2.4.0-test10 linux/arch/mips64/kernel/smp.c

Next file: linux/arch/mips64/mm/init.c
Previous file: linux/arch/mips/sgi/kernel/promcon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/arch/mips64/kernel/smp.c linux/arch/mips64/kernel/smp.c
@@ -54,7 +54,7 @@
 
 /* The 'big kernel lock' */
 spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED;
-int smp_threads_ready = 0;	/* Not used */
+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.  */
@@ -130,7 +130,7 @@
 	atomic_t started;
 	atomic_t finished;
 	int wait;
-} *call_data = NULL;
+} *call_data;
 
 int smp_call_function (void (*func) (void *info), void *info, int retry, 
 								int wait)

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