From: Steve French Date: Tue, 25 Oct 2011 15:02:53 +0000 (-0500) Subject: Fix build break when freezer not configured X-Git-Tag: firefly_0821_release~3680^2~4277^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e0c8ea1a69410ef44043646938a6a4175f5307e4;p=firefly-linux-kernel-4.4.55.git 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 CC: Jeff Layton Signed-off-by: Steve French --- 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) {} #define wait_event_freezable_timeout(wq, condition, timeout) \ wait_event_interruptible_timeout(wq, condition, timeout) +#define wait_event_freezekillable(wq, condition) \ + wait_event_killable(wq, condition) + #endif /* !CONFIG_FREEZER */ #endif /* FREEZER_H_INCLUDED */