diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2022-09-22 21:20:26 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-09-22 23:46:06 +0200 |
commit | cdc71fe4ecbf48f7292ae8b7e4ff4a2a8b5bdbca (patch) | |
tree | 17dbba63cf3d1277fe1f341294ca6bcc521cc099 /drivers/vfio/Makefile | |
parent | vfio: Split the register_device ops call into functions (diff) | |
download | linux-cdc71fe4ecbf48f7292ae8b7e4ff4a2a8b5bdbca.tar.xz linux-cdc71fe4ecbf48f7292ae8b7e4ff4a2a8b5bdbca.zip |
vfio: Move container code into drivers/vfio/container.c
All the functions that dereference struct vfio_container are moved into
container.c.
Simple code motion, no functional change.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/8-v3-297af71838d2+b9-vfio_container_split_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/Makefile')
-rw-r--r-- | drivers/vfio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/Makefile b/drivers/vfio/Makefile index d67c604d0407..b693a1169286 100644 --- a/drivers/vfio/Makefile +++ b/drivers/vfio/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_VFIO) += vfio.o vfio-y += vfio_main.o \ iova_bitmap.o \ + container.o obj-$(CONFIG_VFIO_VIRQFD) += vfio_virqfd.o obj-$(CONFIG_VFIO_IOMMU_TYPE1) += vfio_iommu_type1.o |