Updated host/vhost/mic_vhost.c and vhost.h references from wait_queue_t to wait_queue...
authorAaron Taylor <ataylor@subgeniuskitty.com>
Fri, 30 Apr 2021 21:21:04 +0000 (14:21 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Fri, 30 Apr 2021 21:21:04 +0000 (14:21 -0700)
See also:

  - https://github.com/torvalds/linux/commit/ac6424b981bce1c4bc55675c6ce11bfe1bbfa64f

host/vhost/mic_vhost.c
host/vhost/vhost.h

index 1aa946b..ecbcef2 100644 (file)
@@ -72,7 +72,7 @@ static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh,
        add_wait_queue(wqh, &poll->wait);
 }
 
        add_wait_queue(wqh, &poll->wait);
 }
 
-static int vhost_poll_wakeup(wait_queue_t *wait, unsigned mode, int sync,
+static int vhost_poll_wakeup(wait_queue_entry_t *wait, unsigned mode, int sync,
                             void *key)
 {
        struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait);
                             void *key)
 {
        struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait);
index c478391..365667e 100644 (file)
@@ -45,7 +45,7 @@ struct vhost_work {
 struct vhost_poll {
        poll_table                table;
        wait_queue_head_t        *wqh;
 struct vhost_poll {
        poll_table                table;
        wait_queue_head_t        *wqh;
-       wait_queue_t              wait;
+       wait_queue_entry_t              wait;
        struct vhost_work         work;
        unsigned long             mask;
        struct vhost_dev         *dev;
        struct vhost_work         work;
        unsigned long             mask;
        struct vhost_dev         *dev;