patch-2.4.15 linux/arch/s390x/kernel/smp.c
Next file: linux/arch/s390x/kernel/traps.c
Previous file: linux/arch/s390x/kernel/setup.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/s390x/kernel/smp.c
- Orig date:
Tue Oct 23 22:48:50 2001
diff -u --recursive --new-file v2.4.14/linux/arch/s390x/kernel/smp.c linux/arch/s390x/kernel/smp.c
@@ -510,7 +510,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)