|
@@ -147,7 +147,8 @@ __remove_wait_queue(wait_queue_head_t *head, wait_queue_t *old)
|
|
|
|
|
|
typedef int wait_bit_action_f(struct wait_bit_key *);
|
|
|
void __wake_up(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
|
|
|
-void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key);
|
|
|
+void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, int nr,
|
|
|
+ void *key);
|
|
|
void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr, void *key);
|
|
|
void __wake_up_locked(wait_queue_head_t *q, unsigned int mode, int nr);
|
|
|
void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr);
|
|
@@ -179,7 +180,7 @@ wait_queue_head_t *bit_waitqueue(void *, int);
|
|
|
#define wake_up_poll(x, m) \
|
|
|
__wake_up(x, TASK_NORMAL, 1, (void *) (m))
|
|
|
#define wake_up_locked_poll(x, m) \
|
|
|
- __wake_up_locked_key((x), TASK_NORMAL, (void *) (m))
|
|
|
+ __wake_up_locked_key((x), TASK_NORMAL, 1, (void *) (m))
|
|
|
#define wake_up_interruptible_poll(x, m) \
|
|
|
__wake_up(x, TASK_INTERRUPTIBLE, 1, (void *) (m))
|
|
|
#define wake_up_interruptible_sync_poll(x, m) \
|