mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* mini [PATCH] 2.4.19-pre2-ac1 one sched hunk missing
@ 2002-03-02 12:47 Greg Louis
  0 siblings, 0 replies; only message in thread
From: Greg Louis @ 2002-03-02 12:47 UTC (permalink / raw)
  To: LKML

--- linux-2.4.19pre2ac1/init/do_mounts.c.orig	Sat Mar  2 07:39:00 2002
+++ linux-2.4.19pre2ac1/init/do_mounts.c	Sat Mar  2 07:39:00 2002
@@ -527,8 +527,7 @@
 		pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
 		if (pid > 0) {
 			while (pid != wait(&i)) {
-				current->policy |= SCHED_YIELD;
-				schedule();
+				yield();
 			}
 		}
 		if (MAJOR(real_root_dev) != RAMDISK_MAJOR


-- 
| G r e g  L o u i s          | gpg public key:      |
|   http://www.bgl.nu/~glouis |   finger greg@bgl.nu |

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-02 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-02 12:47 mini [PATCH] 2.4.19-pre2-ac1 one sched hunk missing Greg Louis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®