patch-2.4.19 linux-2.4.19/arch/ia64/kernel/smpboot.c

Next file: linux-2.4.19/arch/ia64/kernel/traps.c
Previous file: linux-2.4.19/arch/ia64/kernel/signal.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/ia64/kernel/smpboot.c linux-2.4.19/arch/ia64/kernel/smpboot.c
@@ -416,9 +416,9 @@
 	if (!idle)
 		panic("No idle process for CPU %d", cpu);
 
-	idle->processor = cpu;
+	task_set_cpu(idle, cpu);	/* we schedule the first task manually */
+
 	ia64_cpu_to_sapicid[cpu] = sapicid;
-	idle->cpus_runnable = 1 << cpu; /* we schedule the first task manually */
 
 	del_from_runqueue(idle);
 	unhash_process(idle);

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