]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
intel-iommu: Make iommu=pt work on i386 too
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jul 2009 17:56:16 +0000 (18:56 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jul 2009 17:56:16 +0000 (18:56 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/x86/kernel/pci-dma.c

index 47630479b0677e3cb51ee3fb473a584fdd4dfa8e..1a041bcf506bd8efd0d27a4e99e2003e07ff6445 100644 (file)
@@ -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);