Skip to content

Commit

Permalink
iommu=pt is a valid early param
Browse files Browse the repository at this point in the history
This avoids a "Malformed early option 'iommu'" warning on boot when 
trying to use pass-through mode.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Alex Williamson authored and David Woodhouse committed Aug 3, 2009
1 parent 86f4d01 commit cfc65dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/x86/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,8 @@ static __init int iommu_setup(char *p)
if (!strncmp(p, "soft", 4))
swiotlb = 1;
#endif
if (!strncmp(p, "pt", 2)) {
if (!strncmp(p, "pt", 2))
iommu_pass_through = 1;
return 1;
}

gart_parse_options(p);

Expand Down

0 comments on commit cfc65dd

Please sign in to comment.