summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:54 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:54 -0800
commit1040c54c3b98ac4f8d91bc313cdc9d6669481da3 (patch)
treed2c91b7b7e2aa5ffc88774ce1aa9aef08d4c709f /kernel/fork.c
parent5aa875d2cbee34727963bd81aa992b64480045ca (diff)
v2.4.14.8 -> v2.4.14.9
- David Brownell: usbnet update - Greg KH: USB and PCI hotplug update - Ingo/me: fix SCHED_FIFO for UP/SMP for good (flw). - Add back direct_IO now that it works again.
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 91aeda9ef591..3c28fc2a9777 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -638,7 +638,7 @@ int do_fork(unsigned long clone_flags, unsigned long stack_start,
#ifdef CONFIG_SMP
{
int i;
- p->has_cpu = 0;
+ p->cpus_runnable = ~0UL;
p->processor = current->processor;
/* ?? should we just memset this ?? */
for(i = 0; i < smp_num_cpus; i++)