diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-05 02:30:03 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-03-16 17:39:28 +0100 |
commit | b2b12db53507bc97d96f6b7cb279e831e5eafb00 (patch) | |
tree | c79810d2228c1b53c2c87f09f387eb9437e887a4 /include | |
parent | ARM: amba: Allow some ARM_AMBA users to compile with COMPILE_TEST (diff) | |
download | linux-b2b12db53507bc97d96f6b7cb279e831e5eafb00.tar.xz linux-b2b12db53507bc97d96f6b7cb279e831e5eafb00.zip |
vfio: Depend on MMU
VFIO_IOMMU_TYPE1 does not compile with !MMU:
../drivers/vfio/vfio_iommu_type1.c: In function 'follow_fault_pfn':
../drivers/vfio/vfio_iommu_type1.c:536:22: error: implicit declaration of function 'pte_write'; did you mean 'vfs_write'? [-Werror=implicit-function-declaration]
So require it.
Suggested-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <0-v1-02cb5500df6e+78-vfio_no_mmu_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions