diff options
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r-- | include/linux/wait.h | 10 |
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 | ||
178 | typedef int wait_bit_action_f(struct wait_bit_key *); | 178 | typedef int wait_bit_action_f(struct wait_bit_key *, int mode); |
179 | void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key); | 179 | void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key); |
180 | void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key); | 180 | void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key); |
181 | void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr, void *key); | 181 | void __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 | ||
993 | extern int bit_wait(struct wait_bit_key *); | 993 | extern int bit_wait(struct wait_bit_key *, int); |
994 | extern int bit_wait_io(struct wait_bit_key *); | 994 | extern int bit_wait_io(struct wait_bit_key *, int); |
995 | extern int bit_wait_timeout(struct wait_bit_key *); | 995 | extern int bit_wait_timeout(struct wait_bit_key *, int); |
996 | extern int bit_wait_io_timeout(struct wait_bit_key *); | 996 | extern 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 |