summaryrefslogtreecommitdiff
path: root/drivers/vfio/Kconfig
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-08-26 13:39:10 +0300
committerAlex Williamson <alex.williamson@redhat.com>2021-08-26 19:36:51 +0300
commitca4ddaac7fa710a250bbd650cc719425bec973a0 (patch)
treeab57ceb78e27ef89625b6776b2ed12abe91e8816 /drivers/vfio/Kconfig
parentcc6711b0bf36de068b10490198d05ac168377989 (diff)
downloadlinux-ca4ddaac7fa710a250bbd650cc719425bec973a0.tar.xz
vfio: Use select for eventfd
If VFIO_VIRQFD is required then turn on eventfd automatically. The majority of kconfig users of the EVENTFD use select not depends on. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20210826103912.128972-12-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/Kconfig')
-rw-r--r--drivers/vfio/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
index e44bf736e2b2..698ca35b3f03 100644
--- a/drivers/vfio/Kconfig
+++ b/drivers/vfio/Kconfig
@@ -16,7 +16,8 @@ config VFIO_SPAPR_EEH
config VFIO_VIRQFD
tristate
- depends on VFIO && EVENTFD
+ depends on VFIO
+ select EVENTFD
default n
menuconfig VFIO