diff options
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r-- | kernel/power/power.h | 3 |
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 |
229 | static inline int suspend_freeze_processes(void) | 229 | static 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 | ||
234 | static inline void suspend_thaw_processes(void) | 235 | static inline void suspend_thaw_processes(void) |