patch-2.4.15 linux/arch/ppc/kernel/smp.c

Next file: linux/arch/ppc/kernel/walnut_setup.c
Previous file: linux/arch/ppc/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/arch/ppc/kernel/smp.c linux/arch/ppc/kernel/smp.c
@@ -349,7 +349,7 @@
 		init_tasks[i] = p;
 
 		p->processor = i;
-		p->has_cpu = 1;
+		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)