Revert "PM: wakelock: Don't dump unfrozen task list when aborting try_to_freeze_tasks...
Arve Hjønnevåg [Sat, 17 Mar 2012 00:38:49 +0000 (17:38 -0700)]
This reverts commit 6e4b6932f7f1d7a9ce5b537b545fa924b83f21b6.

Change-Id: Ib87877dd899c1bb95dec4407de15969773c70b02

kernel/power/process.c

index 581df78..8fee8d0 100644 (file)
@@ -118,8 +118,7 @@ static int try_to_freeze_tasks(bool user_only)
                read_lock(&tasklist_lock);
                do_each_thread(g, p) {
                        if (!wakeup && !freezer_should_skip(p) &&
-                           p != current && freezing(p) && !frozen(p) &&
-                           elapsed_csecs > 100)
+                           p != current && freezing(p) && !frozen(p))
                                sched_show_task(p);
                } while_each_thread(g, p);
                read_unlock(&tasklist_lock);