> -----Original Message----- > From: David Woodhouse [mailto:dwmw2@xxxxxxxxxxxxx] > Sent: Tuesday, January 26, 2016 12:59 PM > To: Lawrynowicz, Jacek <jacek.lawrynowicz@xxxxxxxxx>; linux- > pci@xxxxxxxxxxxxxxx > Cc: bhelgaas@xxxxxxxxxx; alex.williamson@xxxxxxxxxx; jroedel@xxxxxxx > Subject: Re: [PATCH v2 1/2] pci: Add support for multiple DMA aliases > > On Tue, 2016-01-26 at 11:31 +0100, Jacek Lawrynowicz wrote: > > > > +bool pci_dma_alias_is_enabled(struct pci_dev *dev, u8 devfn) > > +{ > > + return dev->dma_alias_mask && > > + test_bit(devfn, dev->dma_alias_mask); > > +} > > +EXPORT_SYMBOL_GPL(pci_dma_alias_is_enabled); > > Why export this? So it can be used in drivers/iommu/iommu.c in get_pci_alias_group(). Bjorn didn't want dma_alias_mask to be used there directly. -- Jacek Lawrynowicz Intel Technology Poland sp. z o.o. KRS 101882 - ul. Slowackiego 173, 80-298 Gdansk
Attachment:
smime.p7s
Description: S/MIME cryptographic signature