diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2025-12-04 11:03:29 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2025-12-15 20:34:41 -0400 |
| commit | 69dc538a4f5a57dcc5ea4893c769d567f539a1b1 (patch) | |
| tree | a6cf080bff261910cec7be6f1dd6e51312386850 /tools/lib/python/kdoc/kdoc_files.py | |
| parent | 8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff) | |
iommufd: Fix building without dmabuf
When DMABUF is disabled, trying to use it causes a link failure:
x86_64-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_map_file_pages':
io_pagetable.c:(.text+0x1735): undefined reference to `dma_buf_get'
x86_64-linux-ld: io_pagetable.c:(.text+0x1775): undefined reference to `dma_buf_put'
Fixes: 44ebaa1744fd ("iommufd: Accept a DMABUF through IOMMU_IOAS_MAP_FILE")
Link: https://patch.msgid.link/r/20251204100333.1034767-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
