patch-2.2.0-pre1 linux/init/main.c

Next file: linux/ipc/sem.c
Previous file: linux/include/video/fbcon.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/init/main.c linux/init/main.c
@@ -1177,6 +1177,7 @@
 	 */
 	smp_init();
 	kernel_thread(init, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
+	current->need_resched = 1;
  	cpu_idle(NULL);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov