rq-qos: fix missed wake-ups in rq_qos_throttle try two
[sfrench/cifs-2.6.git] / include / linux / wait.h
index fe10e8570a522166903411cfd9ab02f4109813fe..6598ae35e1b5ab18ab10210df6ea7f2adb2aff97 100644 (file)
@@ -1136,7 +1136,7 @@ do {                                                                              \
  * Waitqueues which are removed from the waitqueue_head at wakeup time
  */
 void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
-void prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
+bool prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state);
 void finish_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout);