diff options
Diffstat (limited to 'ipc/mqueue.c')
| -rw-r--r-- | ipc/mqueue.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 8cbd6e6894d5..7a2d8f0c8ae5 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -967,7 +967,7 @@ SYSCALL_DEFINE5(mq_timedsend, mqd_t, mqdes, const char __user *, u_msg_ptr,  	struct timespec ts;  	struct posix_msg_tree_node *new_leaf = NULL;  	int ret = 0; -	WAKE_Q(wake_q); +	DEFINE_WAKE_Q(wake_q);  	if (u_abs_timeout) {  		int res = prepare_timeout(u_abs_timeout, &expires, &ts); @@ -1151,7 +1151,7 @@ SYSCALL_DEFINE5(mq_timedreceive, mqd_t, mqdes, char __user *, u_msg_ptr,  			msg_ptr = wait.msg;  		}  	} else { -		WAKE_Q(wake_q); +		DEFINE_WAKE_Q(wake_q);  		msg_ptr = msg_get(info);  |