patch-2.4.15 linux/arch/sparc/kernel/sun4d_smp.c
Next file: linux/arch/sparc/kernel/sun4m_smp.c
Previous file: linux/arch/sparc/kernel/smp.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Nov 21 10:31:09 2001
-  Orig file: 
v2.4.14/linux/arch/sparc/kernel/sun4d_smp.c
-  Orig date: 
Fri Feb  9 11:37:03 2001
diff -u --recursive --new-file v2.4.14/linux/arch/sparc/kernel/sun4d_smp.c linux/arch/sparc/kernel/sun4d_smp.c
@@ -225,7 +225,7 @@
 			init_tasks[i] = p;
 
 			p->processor = i;
-			p->has_cpu = 1; /* we schedule the first task manually */
+			p->cpus_runnable = 1 << i; /* we schedule the first task manually */
 
 			current_set[i] = p;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)