Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3238c0c4 authored by David Woodhouse's avatar David Woodhouse
Browse files

intel-iommu: Make iommu=pt work on i386 too

parent f3a0a52f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -211,11 +211,11 @@ static __init int iommu_setup(char *p)
#ifdef CONFIG_SWIOTLB
#ifdef CONFIG_SWIOTLB
		if (!strncmp(p, "soft", 4))
		if (!strncmp(p, "soft", 4))
			swiotlb = 1;
			swiotlb = 1;
#endif
		if (!strncmp(p, "pt", 2)) {
		if (!strncmp(p, "pt", 2)) {
			iommu_pass_through = 1;
			iommu_pass_through = 1;
			return 1;
			return 1;
		}
		}
#endif


		gart_parse_options(p);
		gart_parse_options(p);