]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - ipc/mqueue.c
mm: disable numa migration faults for dax vmas
[linux.git] / ipc / mqueue.c
index 8cbd6e6894d514d2078c4af3bcb4e77c68a73abf..7a2d8f0c8ae506d631bf3fc455f53b042ef29401 100644 (file)
@@ -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);