From patchwork Wed May 4 15:18:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 67155 Delivered-To: patches@linaro.org Received: by 10.140.92.199 with SMTP id b65csp241964qge; Wed, 4 May 2016 08:18:34 -0700 (PDT) X-Received: by 10.28.141.18 with SMTP id p18mr9487816wmd.57.1462375110011; Wed, 04 May 2016 08:18:30 -0700 (PDT) Return-Path: Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com. [2a00:1450:400c:c09::230]) by mx.google.com with ESMTPS id c15si5741193wmh.64.2016.05.04.08.18.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 May 2016 08:18:30 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::230 as permitted sender) client-ip=2a00:1450:400c:c09::230; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::230 as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-wm0-x230.google.com with SMTP id g17so100234177wme.1 for ; Wed, 04 May 2016 08:18:29 -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=RbXJodSdSJ/zGCv3hi+C0KlJNT+gHwBMNwJ812cak6AbZpjopxg0QHpGgfUftdX2wi J5q9KG570EKe0ZLQqSwaGN+C5D2A4D9L4KmyXpiSP4uLNQ72twp08WnQTvKcH14z5eAY Lg85z96W13WhIl/yqAKi5Xd7wM1MsIGFQM2yE= 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=RlP/DvDALzbQDD/wZXfO/gW9RZEN2GBcCB0wRcMy0laO2Wl0Zrg0a5IRJ27/xPimYv 5jrNuQkrHGBOUxjx5l4CaUl4boiW5kHZOBCo8mTKDEzu+1RihpzSZqIZKlTUT89mLwvT uxJITF+MpsvMYKMQL4z64HlSptC57kGUQ9pjagOTaAK4lxyEGaJzAzWT6abiYVIEQYtD Ks7KaHtmvehuJOzhojhaOhsNDzn25GLxRB1dEz/016fHFnipSROg/hkI3ATngyXQqs2g 7lzb4ol0i/oXoeqstkpZ6O3hv4yg0GcBxE3ueA9G69XU7hz7dOeGugK2dgeM33caWcI1 apMw== X-Gm-Message-State: AOPr4FXUopvuraKXZWkbP9gtCeqns6Nk2p/0Rf0x6vhGFU0JlDiExL0iEsOUv0JUxzDQ+l6hCt0= X-Received: by 10.194.77.140 with SMTP id s12mr9297901wjw.24.1462375109735; Wed, 04 May 2016 08:18:29 -0700 (PDT) Return-Path: Received: from new-host-57.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id c4sm4773821wjm.24.2016.05.04.08.18.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 May 2016 08:18:28 -0700 (PDT) From: Eric Auger 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 Cc: patches@linaro.org, linux-kernel@vger.kernel.org, Bharat.Bhushan@freescale.com, pranav.sawargaonkar@gmail.com, p.fedin@samsung.com, iommu@lists.linux-foundation.org, Jean-Philippe.Brucker@arm.com, julien.grall@arm.com, yehuday@marvell.com Subject: [PATCH v9 3/8] genirq/msi: export msi_get_domain_info Date: Wed, 4 May 2016 15:18:09 +0000 Message-Id: <1462375094-2390-4-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462375094-2390-1-git-send-email-eric.auger@linaro.org> References: <1462375094-2390-1-git-send-email-eric.auger@linaro.org> We plan to use msi_get_domain_info in VFIO module so let's export it. Signed-off-by: Eric Auger --- 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(+) -- 1.9.1 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 */