Message ID | 1461085990-2547-4-git-send-email-eric.auger@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E0CD19F36E for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Apr 2016 17:15:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17620202B8 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Apr 2016 17:15:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45D952026F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Apr 2016 17:15:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1asZE0-0005aj-Ts; Tue, 19 Apr 2016 17:14:08 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asZDb-0005I9-UE for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2016 17:13:44 +0000 Received: by mail-wm0-x236.google.com with SMTP id v188so171074486wme.1 for <linux-arm-kernel@lists.infradead.org>; Tue, 19 Apr 2016 10:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/CIFk+Jnou8Zni39n6VB6+QPbKxdAYpkLAcP+OHxVaM=; b=KjC387V5sDiJJQTfG/seuczR1qft7sX58eZNyPsWqX8qmmtT7nbUH05jVQ4rehjvId oG6g+6C+zTqrtCSMsOyjWLjKPXLJiOGiCwaeMDwC/OtDdHVDeqNDnq8jDXhpxEloVCP0 wyIzU1HYmy+59WmXZ+66RZ7OTRYJGBkiCPPTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/CIFk+Jnou8Zni39n6VB6+QPbKxdAYpkLAcP+OHxVaM=; b=jBddFreMt8mm/vZg5xRpNLu39spHEF1H34r7At6AC7dYrQM4FZ7C6bM9qD9OER42QZ 0uiXQX4BHpr4katTwsL39QPotmaF7uwKoaW+C6SR/JkebFIgFyn9facpIXgCsHafpyn9 iAkDRaNhG4u2EOghot7md6hJsn8rxe1KWJJBX7kyGYjuDaexdm3TKBiGYtLP3Sq7yhqT 08YEWPWj+b96OfWdorHJXRvPLn0zXQy++ULgk+EfeHscex6+UWrAha+QKyNWiYq/uDsT KmNaHg+4cMGOPtfRtPE1omUnsuWTBZ+L94X1PzpzchBRRH5AuNPcvrPhvj50PGNE/V9H /TDw== X-Gm-Message-State: AOPr4FW+0TlimArgAfVzHpn+vU+mU/yFjz970LzAzCozdARCn3DtslQvxeSQbRr7iLWFKAkJ X-Received: by 10.28.60.134 with SMTP id j128mr4791487wma.71.1461086003021; Tue, 19 Apr 2016 10:13:23 -0700 (PDT) Received: from new-host-34.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id gr4sm1243604wjd.23.2016.04.19.10.13.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Apr 2016 10:13:22 -0700 (PDT) From: Eric Auger <eric.auger@linaro.org> To: eric.auger@st.com, eric.auger@linaro.org, robin.murphy@arm.com, alex.williamson@redhat.com, will.deacon@arm.com, joro@8bytes.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, christoffer.dall@linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v7 3/8] genirq/msi: export msi_get_domain_info Date: Tue, 19 Apr 2016 17:13:05 +0000 Message-Id: <1461085990-2547-4-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461085990-2547-1-git-send-email-eric.auger@linaro.org> References: <1461085990-2547-1-git-send-email-eric.auger@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160419_101344_152110_0CC52628 X-CRM114-Status: GOOD ( 11.55 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: julien.grall@arm.com, patches@linaro.org, Jean-Philippe.Brucker@arm.com, p.fedin@samsung.com, linux-kernel@vger.kernel.org, Bharat.Bhushan@freescale.com, iommu@lists.linux-foundation.org, pranav.sawargaonkar@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c index 38e89ce..9b0ba4a 100644 --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -400,5 +400,6 @@ struct msi_domain_info *msi_get_domain_info(struct irq_domain *domain) { return (struct msi_domain_info *)domain->host_data; } +EXPORT_SYMBOL_GPL(msi_get_domain_info); #endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */
We plan to use msi_get_domain_info in VFIO module so let's export it. Signed-off-by: Eric Auger <eric.auger@linaro.org> --- v2 -> v3: - remove static implementation in case CONFIG_PCI_MSI_IRQ_DOMAIN is not set --- kernel/irq/msi.c | 1 + 1 file changed, 1 insertion(+)