]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Freezer: fix more fallout from the thaw_process rename
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Nov 2011 23:44:55 +0000 (00:44 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Nov 2011 23:44:55 +0000 (00:44 +0100)
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>
include/linux/freezer.h

index 09570ac22be6063d2efe1cd1e11f8aa39ab02cff..c1ee2833655eb771593be215bdba49bf8ff58cc6 100644 (file)
@@ -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; }