vfio: always select ANON_INODES
authorArnd Bergmann <arnd@arndb.de>
Thu, 27 Mar 2014 17:58:58 +0000 (11:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 27 Mar 2014 17:58:58 +0000 (11:58 -0600)
The vfio code cannot be built when CONFIG_ANON_INODES is
disabled, so this enforces the symbol to be enabled through
Kconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/Kconfig

index 26b3d9d1409f9e349309c5cce7dda183bea268fa..af7b204b921555ec980d64b09b26543d8932c890 100644 (file)
@@ -13,6 +13,7 @@ menuconfig VFIO
        depends on IOMMU_API
        select VFIO_IOMMU_TYPE1 if X86
        select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES)
+       select ANON_INODES
        help
          VFIO provides a framework for secure userspace device drivers.
          See Documentation/vfio.txt for more details.