[PATCH 1/3] iommu: Move swap_pci_ref function to pci.h.

Sethi Varun-B16395 B16395 at freescale.com
Tue Apr 16 03:13:01 EST 2013


Fine, I will move it to iommu.h.

-Varun

> -----Original Message-----
> From: Joerg Roedel [mailto:joro at 8bytes.org]
> Sent: Monday, April 15, 2013 8:29 PM
> To: Sethi Varun-B16395
> Cc: Yoder Stuart-B08248; Wood Scott-B07421; iommu at lists.linux-
> foundation.org; linuxppc-dev at lists.ozlabs.org; linux-
> kernel at vger.kernel.org; galak at kernel.crashing.org;
> benh at kernel.crashing.org; bhelgaas at google.com
> Subject: Re: [PATCH 1/3] iommu: Move swap_pci_ref function to pci.h.
> 
> On Mon, Apr 15, 2013 at 12:42:00AM +0530, Varun Sethi wrote:
> > swap_pci_ref function is used by the IOMMU API code for swapping pci
> > device pointers, while determining the iommu group for the device.
> > Currently this function was being implemented for different IOMMU
> drivers.
> > This patch moves the function to pci.h so that the implementation can
> > be shared across various IOMMU drivers.
> 
> The function is only used in IOMMU code, so I think its fine to keep it
> there (unless Bjorn disagrees and wants it in PCI code).
> 
> 
> 	Joerg
> 
> 




More information about the Linuxppc-dev mailing list