From: Boqun Feng Date: Thu, 17 Oct 2019 00:57:03 +0000 (+0800) Subject: drivers: iommu: hyperv: Make HYPERV_IOMMU only available on x86 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d7f0b2e450e94ad3811a812236529175ae86751e;p=linux.git drivers: iommu: hyperv: Make HYPERV_IOMMU only available on x86 Currently hyperv-iommu is implemented in a x86 specific way, for example, apic is used. So make the HYPERV_IOMMU Kconfig depend on X86 as a preparation for enabling HyperV on architecture other than x86. Cc: Lan Tianyu Cc: Michael Kelley Cc: linux-hyperv@vger.kernel.org Signed-off-by: Boqun Feng (Microsoft) Signed-off-by: Sasha Levin --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index e3842eabcfdd6..f1086eaed41cb 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -467,7 +467,7 @@ config QCOM_IOMMU config HYPERV_IOMMU bool "Hyper-V x2APIC IRQ Handling" - depends on HYPERV + depends on HYPERV && X86 select IOMMU_API default HYPERV help