patch-2.4.15 linux/kernel/fork.c
Next file: linux/kernel/ksyms.c
Previous file: linux/kernel/exit.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Nov 21 10:18:42 2001
-  Orig file: 
v2.4.14/linux/kernel/fork.c
-  Orig date: 
Sun Sep 23 11:41:01 2001
diff -u --recursive --new-file v2.4.14/linux/kernel/fork.c linux/kernel/fork.c
@@ -638,7 +638,7 @@
 #ifdef CONFIG_SMP
 	{
 		int i;
-		p->has_cpu = 0;
+		p->cpus_runnable = ~0UL;
 		p->processor = current->processor;
 		/* ?? should we just memset this ?? */
 		for(i = 0; i < smp_num_cpus; i++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)