[tip:,locking/core] vduse: Remove include of rwlock.h

Message ID 167569407005.4906.11428635230479765759.tip-bot2@tip-bot2
State New
Headers
Series [tip:,locking/core] vduse: Remove include of rwlock.h |

Commit Message

tip-bot2 for Thomas Gleixner Feb. 6, 2023, 2:34 p.m. UTC
  The following commit has been merged into the locking/core branch of tip:

Commit-ID:     3b4863fa5b7dd50dab1b10abbed938efd203752f
Gitweb:        https://git.kernel.org/tip/3b4863fa5b7dd50dab1b10abbed938efd203752f
Author:        Sebastian Andrzej Siewior <bigeasy@linutronix.de>
AuthorDate:    Wed, 26 Oct 2022 15:44:07 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Mon, 06 Feb 2023 15:31:05 +01:00

vduse: Remove include of rwlock.h

rwlock.h should not be included directly. Instead linux/splinlock.h
should be included. Including it directly will break the RT build.

Remove the rwlock.h include.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>

---
 drivers/vdpa/vdpa_user/iova_domain.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/drivers/vdpa/vdpa_user/iova_domain.h b/drivers/vdpa/vdpa_user/iova_domain.h
index 4e0e50e..173e979 100644
--- a/drivers/vdpa/vdpa_user/iova_domain.h
+++ b/drivers/vdpa/vdpa_user/iova_domain.h
@@ -14,7 +14,6 @@ 
 #include <linux/iova.h>
 #include <linux/dma-mapping.h>
 #include <linux/vhost_iotlb.h>
-#include <linux/rwlock.h>
 
 #define IOVA_START_PFN 1