summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/pci/pds/vfio_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vfio/pci/pds/vfio_dev.h')
-rw-r--r--drivers/vfio/pci/pds/vfio_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/pds/vfio_dev.h b/drivers/vfio/pci/pds/vfio_dev.h
index b8f2d667608f..e7b01080a1ec 100644
--- a/drivers/vfio/pci/pds/vfio_dev.h
+++ b/drivers/vfio/pci/pds/vfio_dev.h
@@ -18,7 +18,7 @@ struct pds_vfio_pci_device {
struct pds_vfio_dirty dirty;
struct mutex state_mutex; /* protect migration state */
enum vfio_device_mig_state state;
- spinlock_t reset_lock; /* protect reset_done flow */
+ struct mutex reset_mutex; /* protect reset_done flow */
u8 deferred_reset;
enum vfio_device_mig_state deferred_reset_state;
struct notifier_block nb;