aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/freezer.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2011-10-25 11:02:53 -0400
committerSteve French <smfrench@gmail.com>2011-10-27 17:53:40 -0400
commite0c8ea1a69410ef44043646938a6a4175f5307e4 (patch)
tree4c859e9e9cdcddf7bb5d073fcbc434818d135963 /include/linux/freezer.h
parent96814ecb404d587fade79af70bb741bc753e9ffb (diff)
Fix build break when freezer not configured
fs/cifs/transport.c: In function 'wait_for_response': fs/cifs/transport.c:328: error: implicit declaration of function 'wait_event_freezekillable' Caused by commit f06ac72e9291 ("cifs, freezer: add wait_event_freezekillable and have cifs use it"). In this config, CONFIG_FREEZER is not set. Reviewed-by: Shirish Pargaonkar <shirishp@us.ibm.com> CC: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'include/linux/freezer.h')
-rw-r--r--include/linux/freezer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h
index a1555618801d..5989883d7763 100644
--- a/include/linux/freezer.h
+++ b/include/linux/freezer.h
@@ -203,6 +203,9 @@ static inline void set_freezable_with_signal(void) {}
203#define wait_event_freezable_timeout(wq, condition, timeout) \ 203#define wait_event_freezable_timeout(wq, condition, timeout) \
204 wait_event_interruptible_timeout(wq, condition, timeout) 204 wait_event_interruptible_timeout(wq, condition, timeout)
205 205
206#define wait_event_freezekillable(wq, condition) \
207 wait_event_killable(wq, condition)
208
206#endif /* !CONFIG_FREEZER */ 209#endif /* !CONFIG_FREEZER */
207 210
208#endif /* FREEZER_H_INCLUDED */ 211#endif /* FREEZER_H_INCLUDED */