X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=fd4fc12d262464b0b763e2e0fb5dd1781f2a3b70;hb=368059a977871def0f88a92eefb6ecc1f7b6132f;hp=b222ce9e1c8bd3e4871acf564d187225ba0e574c;hpb=805f53f085346b6765eda02820721a14ce0d644f;p=linux-2.6-omap-h63xx.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index b222ce9e1c8..fd4fc12d262 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -56,12 +56,11 @@ static void __init handle_initrd(void) sys_chroot("."); pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD); - if (pid > 0) { + if (pid > 0) while (pid != sys_wait4(-1, NULL, 0, NULL)) { try_to_freeze(); yield(); } - } /* move initrd to rootfs' /old */ sys_fchdir(old_fd);