aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index 9a00a0a26280..e6206397ce67 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -228,7 +228,8 @@ extern int pm_test_level;
228#ifdef CONFIG_SUSPEND_FREEZER 228#ifdef CONFIG_SUSPEND_FREEZER
229static inline int suspend_freeze_processes(void) 229static inline int suspend_freeze_processes(void)
230{ 230{
231 return freeze_processes(); 231 int error = freeze_processes();
232 return error ? : freeze_kernel_threads();
232} 233}
233 234
234static inline void suspend_thaw_processes(void) 235static inline void suspend_thaw_processes(void)