From: David Woodhouse Date: Wed, 1 Jul 2009 17:56:16 +0000 (+0100) Subject: intel-iommu: Make iommu=pt work on i386 too X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3238c0c4d68d9a9022b411a11a4b933fbdb53a14;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git intel-iommu: Make iommu=pt work on i386 too Signed-off-by: David Woodhouse --- diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 47630479b067..1a041bcf506b 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c @@ -211,11 +211,11 @@ static __init int iommu_setup(char *p) #ifdef CONFIG_SWIOTLB if (!strncmp(p, "soft", 4)) swiotlb = 1; +#endif if (!strncmp(p, "pt", 2)) { iommu_pass_through = 1; return 1; } -#endif gart_parse_options(p);