summaryrefslogtreecommitdiff
path: root/drivers/vfio/vfio_main.c
diff options
context:
space:
mode:
authorAlex Williamson <alex@shazbot.org>2025-11-20 21:20:00 -0700
committerAlex Williamson <alex@shazbot.org>2025-11-20 21:20:00 -0700
commitfa804aa4ac1b091ef2ec2981f08a1c28aaeba8e7 (patch)
tree77e377384b1eca3835404c27cffbcf455299f375 /drivers/vfio/vfio_main.c
parent56c069307dfd0a5e39b685e0aeee6c40d1d7ddfc (diff)
parent5415d887db0e059920cb5673a32cc4d66daa280f (diff)
Merge tag 'vfio-v6.19-dma-buf-v9+' into v6.19/vfio/next
[v9] vfio/pci: Allow MMIO regions to be exported through dma-buf https://lore.kernel.org/all/20251120-dmabuf-vfio-v9-0-d7f71607f371@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'drivers/vfio/vfio_main.c')
-rw-r--r--drivers/vfio/vfio_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/vfio/vfio_main.c b/drivers/vfio/vfio_main.c
index b8fe1a75e48a..f7df90c423b4 100644
--- a/drivers/vfio/vfio_main.c
+++ b/drivers/vfio/vfio_main.c
@@ -172,11 +172,13 @@ void vfio_device_put_registration(struct vfio_device *device)
if (refcount_dec_and_test(&device->refcount))
complete(&device->comp);
}
+EXPORT_SYMBOL_GPL(vfio_device_put_registration);
bool vfio_device_try_get_registration(struct vfio_device *device)
{
return refcount_inc_not_zero(&device->refcount);
}
+EXPORT_SYMBOL_GPL(vfio_device_try_get_registration);
/*
* VFIO driver API