From c34c9dfaba2915022ecf855d9098cb9e962e6875 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Fri, 30 Apr 2021 14:21:04 -0700 Subject: [PATCH] Updated host/vhost/mic_vhost.c and vhost.h references from wait_queue_t to wait_queue_entry_t. See also: - https://github.com/torvalds/linux/commit/ac6424b981bce1c4bc55675c6ce11bfe1bbfa64f --- host/vhost/mic_vhost.c | 2 +- host/vhost/vhost.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/vhost/mic_vhost.c b/host/vhost/mic_vhost.c index 1aa946b..ecbcef2 100644 --- a/host/vhost/mic_vhost.c +++ b/host/vhost/mic_vhost.c @@ -72,7 +72,7 @@ static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, 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); diff --git a/host/vhost/vhost.h b/host/vhost/vhost.h index c478391..365667e 100644 --- a/host/vhost/vhost.h +++ b/host/vhost/vhost.h @@ -45,7 +45,7 @@ struct vhost_work { 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; -- 2.20.1