aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c
index 00cdbe5f518f..3434940a3df1 100644
--- a/kernel/power/process.c
+++ b/kernel/power/process.c
@@ -149,7 +149,7 @@ static int try_to_freeze_tasks(int freeze_user_space)
149 } while_each_thread(g, p); 149 } while_each_thread(g, p);
150 read_unlock(&tasklist_lock); 150 read_unlock(&tasklist_lock);
151 yield(); /* Yield is okay here */ 151 yield(); /* Yield is okay here */
152 if (todo && time_after(jiffies, end_time)) 152 if (time_after(jiffies, end_time))
153 break; 153 break;
154 } while (todo); 154 } while (todo);
155 155