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

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

diff -u --recursive --new-file v2.4.14/linux/arch/s390/kernel/smp.c linux/arch/s390/kernel/smp.c
@@ -531,7 +531,7 @@
         if (!idle)
                 panic("No idle process for CPU %d",cpu);
         idle->processor = cpu;
-        idle->has_cpu = 1; /* we schedule the first task manually */
+	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)