Merge branch 'bsg' of git://git.kernel.dk/data/git/linux-2.6-block
[cascardo/linux.git] / init / do_mounts_initrd.c
index b222ce9..a6b4c0c 100644 (file)
@@ -56,12 +56,9 @@ static void __init handle_initrd(void)
        sys_chroot(".");
 
        pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
-       if (pid > 0) {
-               while (pid != sys_wait4(-1, NULL, 0, NULL)) {
-                       try_to_freeze();
+       if (pid > 0)
+               while (pid != sys_wait4(-1, NULL, 0, NULL))
                        yield();
-               }
-       }
 
        /* move initrd to rootfs' /old */
        sys_fchdir(old_fd);