Commit 62c9ea6b authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Rafael J. Wysocki

Freezer: fix more fallout from the thaw_process rename

Commit 944e192db53c "freezer: rename thaw_process() to __thaw_task()
and simplify the implementation" did not create a !CONFIG_FREEZER version
of __thaw_task().
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 986b11c3
...@@ -149,6 +149,7 @@ static inline int freezer_should_skip(struct task_struct *p) ...@@ -149,6 +149,7 @@ static inline int freezer_should_skip(struct task_struct *p)
#else /* !CONFIG_FREEZER */ #else /* !CONFIG_FREEZER */
static inline bool frozen(struct task_struct *p) { return false; } static inline bool frozen(struct task_struct *p) { return false; }
static inline bool freezing(struct task_struct *p) { return false; } static inline bool freezing(struct task_struct *p) { return false; }
static inline void __thaw_task(struct task_struct *t) {}
static inline bool __refrigerator(bool check_kthr_stop) { return false; } static inline bool __refrigerator(bool check_kthr_stop) { return false; }
static inline int freeze_processes(void) { return -ENOSYS; } static inline int freeze_processes(void) { return -ENOSYS; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment