aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r--include/linux/wait.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h
index f3bac30587f7..d2f4ec7dba7c 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -175,7 +175,7 @@ __remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old)
175 list_del(&old->task_list); 175 list_del(&old->task_list);
176} 176}
177 177
178typedef int wait_bit_action_f(struct wait_bit_key *); 178typedef int wait_bit_action_f(struct wait_bit_key *, int mode);
179void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key); 179void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
180void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key); 180void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key);
181void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr, void *key); 181void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
@@ -990,10 +990,10 @@ int wake_bit_function(wait_queue_t *wait, unsigned mode, int sync, void *key);
990 } while (0) 990 } while (0)
991 991
992 992
993extern int bit_wait(struct wait_bit_key *); 993extern int bit_wait(struct wait_bit_key *, int);
994extern int bit_wait_io(struct wait_bit_key *); 994extern int bit_wait_io(struct wait_bit_key *, int);
995extern int bit_wait_timeout(struct wait_bit_key *); 995extern int bit_wait_timeout(struct wait_bit_key *, int);
996extern int bit_wait_io_timeout(struct wait_bit_key *); 996extern int bit_wait_io_timeout(struct wait_bit_key *, int);
997 997
998/** 998/**
999 * wait_on_bit - wait for a bit to be cleared 999 * wait_on_bit - wait for a bit to be cleared