mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
71be3423a6
An unintended consequence of commit 42ac9bd18d
("vfio: initialize
the virqfd workqueue in VFIO generic code") is that the vfio module
is renamed to vfio_core so that it can include both vfio and virqfd.
That's a user visible change that may break module loading scritps
and it imposes eventfd support as a dependency on the core vfio code,
which it's really not. virqfd is intended to be provided as a service
to vfio bus drivers, so instead of wrapping it into vfio.ko, we can
make it a stand-alone module toggled by vfio bus drivers. This has
the additional benefit of removing initialization and exit from the
core vfio code.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
10 lines
334 B
Makefile
10 lines
334 B
Makefile
vfio_virqfd-y := virqfd.o
|
|
|
|
obj-$(CONFIG_VFIO) += vfio.o
|
|
obj-$(CONFIG_VFIO_VIRQFD) += vfio_virqfd.o
|
|
obj-$(CONFIG_VFIO_IOMMU_TYPE1) += vfio_iommu_type1.o
|
|
obj-$(CONFIG_VFIO_IOMMU_SPAPR_TCE) += vfio_iommu_spapr_tce.o
|
|
obj-$(CONFIG_VFIO_SPAPR_EEH) += vfio_spapr_eeh.o
|
|
obj-$(CONFIG_VFIO_PCI) += pci/
|
|
obj-$(CONFIG_VFIO_PLATFORM) += platform/
|