[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f75cb32b7c262fe852c53544034f5b6047d29b65.camel@gmx.de>
Date: Fri, 19 Aug 2022 08:01:42 +0200
From: Mike Galbraith <efault@....de>
To: Xie Yongji <xieyongji@...edance.com>, jasowang@...hat.com,
mst@...hat.com, xiaodong.liu@...el.com, maxime.coquelin@...hat.com,
stefanha@...hat.com
Cc: songmuchun@...edance.com,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 3/5] vduse: Support using userspace pages as bounce
buffer
Greetings,
On Wed, 2022-08-03 at 12:55 +0800, Xie Yongji wrote:
>
> diff --git a/drivers/vdpa/vdpa_user/iova_domain.h b/drivers/vdpa/vdpa_user/iova_domain.h
> index 2722d9b8e21a..4e0e50e7ac15 100644
> --- a/drivers/vdpa/vdpa_user/iova_domain.h
> +++ b/drivers/vdpa/vdpa_user/iova_domain.h
> @@ -14,6 +14,7 @@
> #include <linux/iova.h>
> #include <linux/dma-mapping.h>
> #include <linux/vhost_iotlb.h>
> +#include <linux/rwlock.h>
^^^^^^^^
Erm, that should be spinlock.h.
#ifndef __LINUX_RWLOCK_H
#define __LINUX_RWLOCK_H
#ifndef __LINUX_SPINLOCK_H
# error "please don't include this file directly"
#endif
This belated comment inspired by PREEMPT_RT build meeting the above :)
-Mike
Powered by blists - more mailing lists