From 1040c54c3b98ac4f8d91bc313cdc9d6669481da3 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 4 Feb 2002 20:33:54 -0800 Subject: 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. --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/fork.c') 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++) -- cgit v1.2.3