[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191030203041.GA247194@google.com>
Date: Wed, 30 Oct 2019 15:30:41 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Will Deacon <will@...nel.org>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Robin Murphy <robin.murphy@....com>,
Joerg Roedel <joro@...tes.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>
Subject: Re: [PATCH 3/7] PCI: Export pci_ats_disabled() as a GPL symbol to
modules
On Wed, Oct 30, 2019 at 02:51:08PM +0000, Will Deacon wrote:
> Building drivers for ATS-aware IOMMUs as modules requires access to
> pci_ats_disabled(). Export it as a GPL symbol to get things working.
>
> Signed-off-by: Will Deacon <will@...nel.org>
Acked-by: Bjorn Helgaas <bhelgaas@...gle.com>
> ---
> drivers/pci/pci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index a97e2571a527..4fbe5b576dd8 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -123,6 +123,7 @@ bool pci_ats_disabled(void)
> {
> return pcie_ats_disabled;
> }
> +EXPORT_SYMBOL_GPL(pci_ats_disabled);
>
> /* Disable bridge_d3 for all PCIe ports */
> static bool pci_bridge_d3_disable;
> --
> 2.24.0.rc0.303.g954a862665-goog
>
Powered by blists - more mailing lists