Skip to content

Commit

Permalink
vduse: Remove include of rwlock.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Andrzej Siewior authored and Thomas Gleixner committed Feb 6, 2023
1 parent 2edcedc commit 3b4863f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/vdpa/vdpa_user/iova_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3b4863f

Please sign in to comment.