patch-2.4.15 linux/arch/mips64/sgi-ip27/ip27-init.c
Next file: linux/arch/ppc/8xx_io/micropatch.c
Previous file: linux/arch/mips/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/mips64/sgi-ip27/ip27-init.c
-  Orig date: 
Sun Sep 23 11:40:56 2001
diff -u --recursive --new-file v2.4.14/linux/arch/mips64/sgi-ip27/ip27-init.c linux/arch/mips64/sgi-ip27/ip27-init.c
@@ -497,7 +497,7 @@
 			alloc_cpupda(cpu, num_cpus);
 			del_from_runqueue(p);
 			p->processor = num_cpus;
-			p->has_cpu = 1; /* we schedule the first task manually */
+			p->cpus_runnable = 1 << num_cpus; /* we schedule the first task manually */
 			unhash_process(p);
 			/* Attach to the address space of init_task. */
 			atomic_inc(&init_mm.mm_count);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)