diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-24 17:56:59 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-09-30 12:46:44 -0600 |
commit | 8cc02d22d7e1596ed687c4ff967c32056c2bef3e (patch) | |
tree | fda8354e88df5ef4d98dc7092d074838e1b5de25 /drivers/vfio/vfio_iommu_spapr_tce.c | |
parent | 67462037872d5ca57dc4674cccff191947b9b43e (diff) |
vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>
Create a new private drivers/vfio/vfio.h header for the interface between
the VFIO core and the iommu drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-10-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio_iommu_spapr_tce.c')
-rw-r--r-- | drivers/vfio/vfio_iommu_spapr_tce.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c b/drivers/vfio/vfio_iommu_spapr_tce.c index fe888b5dcc00..3efd09faeca4 100644 --- a/drivers/vfio/vfio_iommu_spapr_tce.c +++ b/drivers/vfio/vfio_iommu_spapr_tce.c @@ -20,6 +20,7 @@ #include <linux/sched/mm.h> #include <linux/sched/signal.h> #include <linux/mm.h> +#include "vfio.h" #include <asm/iommu.h> #include <asm/tce.h> |