misc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled
authorSudeep Dutt <sudeep.dutt@intel.com>
Sun, 4 Oct 2015 20:38:40 +0000 (13:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2015 03:37:28 +0000 (04:37 +0100)
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>
drivers/misc/mic/Kconfig

index 60376fb9f3f47a107974c62b7874f9488a0d53de..40677df7f996b8508939743808504b27c144cb86 100644 (file)
@@ -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