Merge branch 'pm-freezer' into pm-for-linus
* pm-freezer: PM / Freezer: fix return value of freezable_schedule_timeout_killable()
This commit is contained in:
commit
9ec23949a2
@ -116,9 +116,11 @@ static inline int freezer_should_skip(struct task_struct *p)
|
||||
/* Like schedule_timeout_killable(), but should not block the freezer. */
|
||||
#define freezable_schedule_timeout_killable(timeout) \
|
||||
({ \
|
||||
long __retval; \
|
||||
freezer_do_not_count(); \
|
||||
schedule_timeout_killable(timeout); \
|
||||
__retval = schedule_timeout_killable(timeout); \
|
||||
freezer_count(); \
|
||||
__retval; \
|
||||
})
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user