patch-2.2.11 linux/kernel/fork.c

Next file: linux/kernel/ksyms.c
Previous file: linux/kernel/capability.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/kernel/fork.c linux/kernel/fork.c
@@ -610,7 +610,7 @@
 	{
 		int i;
 		p->has_cpu = 0;
-		p->processor = NO_PROC_ID;
+		p->processor = current->processor;
 		/* ?? should we just memset this ?? */
 		for(i = 0; i < smp_num_cpus; i++)
 			p->per_cpu_utime[i] = p->per_cpu_stime[i] = 0;

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