patch-2.4.11-dontuse linux/kernel/sched.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Fri Oct  5 12:11:05 2001
 -  Orig file: 
v2.4.10/linux/kernel/sched.c
 -  Orig date: 
Sun Sep 23 11:41:01 2001
 
diff -u --recursive --new-file v2.4.10/linux/kernel/sched.c linux/kernel/sched.c
@@ -1309,6 +1309,8 @@
 	atomic_inc(¤t->files->count);
 }
 
+extern unsigned long wait_init_idle;
+
 void __init init_idle(void)
 {
 	struct schedule_data * sched_data;
@@ -1321,6 +1323,7 @@
 	}
 	sched_data->curr = current;
 	sched_data->last_schedule = get_cycles();
+	clear_bit(current->processor, &wait_init_idle);
 }
 
 extern void init_timervecs (void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)