Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp965659ybx; Wed, 30 Oct 2019 07:56:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDLwm6ffAzVDQMXGvIJypqA7lXQHqOvVQsHtEf1mmCPT9Inhm8gCiFXxmlOg32wEOxeoAZ X-Received: by 2002:aa7:cd03:: with SMTP id b3mr20503edw.95.1572447371781; Wed, 30 Oct 2019 07:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572447371; cv=none; d=google.com; s=arc-20160816; b=gA01k2sHTYQrNuLLm2hGd+5UQ3TZH+U5K46223U5qBd0pBTbLd7EXJ7MW4EyAvWzzr 5NHuaaoDUpxrnoGAe8zvmrPlRDNfyJ9T7frx8FkIV2YXqVPJQ/JKOw2wjUf4Ah0Dpslf OYC8iOzNpbSmN1llT6BGQjmx+DcYcBYhStXSHFqFC4sIEjKunfCfw9+QYKNc45DGa1q/ 89IPNh4MmChxjrkVNcwprdYLqAfjPSpjoJgHOGoDzthm3GvQd4sdG7SG4XPViPR/xXm7 oUZE4paPUStrkY1ewkgRBUN5PdwqP83LQ3ULB6X6fj55MXjh9ka3hTmLwvrWh8wxON/u qW8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cn7nQHYdybnS3Dna6LbQV+Fr+XVohinXCUm7C7odJtw=; b=NZvoqVos47xUnqVHP63rNWqlYIOWeLNxV8dnTM9IZ7NjJJkkUwEMGmgwqRLnqvOm+3 G5+IrBMp3iu4jcvtG2KvFWrjLimamtGicFsp1y7g/ccS7Qt/OMj9Pg0yUTvZro0JUIn3 U1UeXGvjJnLtdG151k2t5/FdZfwepx9OQq0smB5g1pE1S55XVx6Tq5Kspocwqe0ivqH0 7zRHp2Zk3Virv53H04jGIdCjSyPgjbQaRkEzGKH0Gs4iBiEpPGqP8f7biaIH/wtSFmeS NYQX108I+iWDPSuErrich9D3YZD24dEtNC18GDU6PGYmAXEkaBhmUh5uguGjWSTw/RHL adrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pbqeDhkO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si1356485ejn.362.2019.10.30.07.55.47; Wed, 30 Oct 2019 07:56:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pbqeDhkO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbfJ3Ov0 (ORCPT + 99 others); Wed, 30 Oct 2019 10:51:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:57602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbfJ3OvY (ORCPT ); Wed, 30 Oct 2019 10:51:24 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AB7ED2087F; Wed, 30 Oct 2019 14:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572447084; bh=uJ+ONkF7na6HukF09Y5O+tCeYJzoiaeeldARCnkP778=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pbqeDhkOGkfRqL2AQ/1gpM9OKF9XhJuB/UP3bVnhIXyJzPuVTe/XN2YZT7US7Fbil rN3L5Ph3uQTJZTjcxaDLfi/dGi/RjWjVaSPjZbGwfHMXTx+/MUKng67OPVZC43gtUk ZyMaCBWuEQrtZrmNMqbUsF60JHTEkxJuQJefDrDU= From: Will Deacon To: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: Will Deacon , Robin Murphy , Joerg Roedel , Bjorn Helgaas , Lorenzo Pieralisi Subject: [PATCH 3/7] PCI: Export pci_ats_disabled() as a GPL symbol to modules Date: Wed, 30 Oct 2019 14:51:08 +0000 Message-Id: <20191030145112.19738-4-will@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191030145112.19738-1-will@kernel.org> References: <20191030145112.19738-1-will@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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