1
0
Fork 0

iommu/vt-d: Remove to_pci_dev() in intel_map_page()

It might not be...

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
hifive-unleashed-5.1
David Woodhouse 2014-03-10 20:01:21 -07:00
parent 7207d8f925
commit 46333e375f
1 changed files with 1 additions and 1 deletions

View File

@ -3023,7 +3023,7 @@ static dma_addr_t intel_map_page(struct device *dev, struct page *page,
struct dma_attrs *attrs)
{
return __intel_map_single(dev, page_to_phys(page) + offset, size,
dir, to_pci_dev(dev)->dma_mask);
dir, *dev->dma_mask);
}
static void flush_unmaps(void)