diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-11-24 18:44:55 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-11-24 18:44:55 -0500 |
commit | 62c9ea6b120688d800b4d892eaf737c20a73e86b (patch) | |
tree | c1a472e96ec19c337da1c2e9b74de83f3083178b | |
parent | 986b11c3ee9e0eace25fe74a502205f7fe8c179b (diff) |
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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r-- | include/linux/freezer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h index 09570ac22be6..c1ee2833655e 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h | |||
@@ -149,6 +149,7 @@ static inline int freezer_should_skip(struct task_struct *p) | |||
149 | #else /* !CONFIG_FREEZER */ | 149 | #else /* !CONFIG_FREEZER */ |
150 | static inline bool frozen(struct task_struct *p) { return false; } | 150 | static inline bool frozen(struct task_struct *p) { return false; } |
151 | static inline bool freezing(struct task_struct *p) { return false; } | 151 | static inline bool freezing(struct task_struct *p) { return false; } |
152 | static inline void __thaw_task(struct task_struct *t) {} | ||
152 | 153 | ||
153 | static inline bool __refrigerator(bool check_kthr_stop) { return false; } | 154 | static inline bool __refrigerator(bool check_kthr_stop) { return false; } |
154 | static inline int freeze_processes(void) { return -ENOSYS; } | 155 | static inline int freeze_processes(void) { return -ENOSYS; } |