diff -ur linux/init/do_mounts.c linux-nk/init/do_mounts.c --- linux/init/do_mounts.c Sun Apr 21 23:04:20 2002 +++ linux-nk/init/do_mounts.c Sun Apr 21 21:01:41 2002 @@ -775,8 +775,7 @@ pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD); if (pid > 0) { while (pid != wait(&i)) { - current->policy |= SCHED_YIELD; - schedule(); + yield(); } } diff -ur linux/kernel/sched.c linux-nk/kernel/sched.c --- linux/kernel/sched.c Sun Apr 21 23:16:06 2002 +++ linux-nk/kernel/sched.c Sun Apr 21 21:24:59 2002 @@ -19,6 +19,7 @@ #include #include #include +#include /* * Priority of a process goes from 0 to MAX_PRIO-1. The