aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/freezer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h
index 7bcfe73d999b..0ab54e16a91f 100644
--- a/include/linux/freezer.h
+++ b/include/linux/freezer.h
@@ -116,9 +116,11 @@ static inline int freezer_should_skip(struct task_struct *p)
116/* Like schedule_timeout_killable(), but should not block the freezer. */ 116/* Like schedule_timeout_killable(), but should not block the freezer. */
117#define freezable_schedule_timeout_killable(timeout) \ 117#define freezable_schedule_timeout_killable(timeout) \
118({ \ 118({ \
119 long __retval; \
119 freezer_do_not_count(); \ 120 freezer_do_not_count(); \
120 schedule_timeout_killable(timeout); \ 121 __retval = schedule_timeout_killable(timeout); \
121 freezer_count(); \ 122 freezer_count(); \
123 __retval; \
122}) 124})
123 125
124/* 126/*