From: Paul M. <le...@us...> - 2001-11-06 00:31:16
|
Update of /cvsroot/linux-mips/linux/kernel In directory usw-pr-cvs1:/tmp/cvs-serv388/kernel Modified Files: sched.c Log Message: Sync with OSS 2.4.11. Index: sched.c =================================================================== RCS file: /cvsroot/linux-mips/linux/kernel/sched.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- sched.c 2001/10/19 21:19:40 1.2 +++ sched.c 2001/11/06 00:30:47 1.3 @@ -1313,6 +1313,8 @@ atomic_inc(¤t->files->count); } +extern unsigned long wait_init_idle; + void __init init_idle(void) { struct schedule_data * sched_data; @@ -1325,6 +1327,7 @@ } sched_data->curr = current; sched_data->last_schedule = get_cycles(); + clear_bit(current->processor, &wait_init_idle); } extern void init_timervecs (void); |