Forráskód Böngészése

misc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled

SCIF depends on IOVA which requires IOMMU_SUPPORT to be enabled.
The long term fix is to move IOVA from drivers/iommu to lib/
but this current patch should fix the reported issue.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sudeep Dutt 9 éve
szülő
commit
ac6d83ccd9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      drivers/misc/mic/Kconfig

+ 1 - 1
drivers/misc/mic/Kconfig

@@ -74,7 +74,7 @@ comment "SCIF Driver"
 
 config SCIF
 	tristate "SCIF Driver"
-	depends on 64BIT && PCI && X86 && SCIF_BUS
+	depends on 64BIT && PCI && X86 && SCIF_BUS && IOMMU_SUPPORT
 	select IOMMU_IOVA
 	help
 	  This enables SCIF Driver support for the Intel Many Integrated