Skip to content

Commit

Permalink
Freezer: fix more fallout from the thaw_process rename
Browse files Browse the repository at this point in the history
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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Stephen Rothwell authored and Rafael J. Wysocki committed Nov 24, 2011
1 parent 986b11c commit 62c9ea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/freezer.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ static inline int freezer_should_skip(struct task_struct *p)
#else /* !CONFIG_FREEZER */
static inline bool frozen(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 int freeze_processes(void) { return -ENOSYS; }
Expand Down

0 comments on commit 62c9ea6

Please sign in to comment.