]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/signal.c
Driver core: allow to delay the uevent at device creation time
[linux-2.6-omap-h63xx.git] / kernel / signal.c
index 1921ffdc5e777eee98081639ff6960b9baf49010..5630255d2e2a958f6e58eea4596a62b0dea3f91a 100644 (file)
@@ -1705,7 +1705,9 @@ finish_stop(int stop_count)
                read_unlock(&tasklist_lock);
        }
 
-       schedule();
+       do {
+               schedule();
+       } while (try_to_freeze());
        /*
         * Now we don't run again until continued.
         */