From patchwork Tue Apr 19 17:13:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 66125 Delivered-To: patches@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1978059qge; Tue, 19 Apr 2016 10:13:26 -0700 (PDT) X-Received: by 10.28.54.208 with SMTP id y77mr24326096wmh.17.1461086003258; Tue, 19 Apr 2016 10:13:23 -0700 (PDT) Return-Path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com. [2a00:1450:400c:c09::22d]) by mx.google.com with ESMTPS id wj5si1255020wjb.92.2016.04.19.10.13.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Apr 2016 10:13:23 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::22d as permitted sender) client-ip=2a00:1450:400c:c09::22d; 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::22d as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-wm0-x22d.google.com with SMTP id n3so41295074wmn.0 for ; Tue, 19 Apr 2016 10:13:23 -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=BR1FNxv+YCrAQDlCT4ONhz6rt5wPUCp24oqKpHFYyjWwjKuY7St6uCHePMFzPf2Tya 8MsuT5x2FOd+Ne7UvTijWvG7+qS3Ft7n0eT+yL1YXQIceCcdCLOEeYQdELoEgmbBKnZT OYvO4gGLaEQUq6UQH4Qw4pClapRmiG2BR2gzsYgFR2r/SkG6CECI5Y5kdsCrzL9t7mJ6 tLL3Wptt6FssXe/gJrYLEGoqRtghpy9l3DBkgT48bTnQ3FS8EowWJSTeiq4LZhdt96N6 MvKUpWBwuk72q8R2KPBptDZq0S8NWmaIrsDTDlSIVLXYoDL5u7eNE3h9LKlFPa4HsDks mq5Q== X-Gm-Message-State: AOPr4FWJZ4KLGYC7pXXCXlAZDN09UUteJ1FsTDHKP6H+QHCnvHqplNDzgEAzBewcxzalsdKb/oU= X-Received: by 10.28.60.134 with SMTP id j128mr4791487wma.71.1461086003021; Tue, 19 Apr 2016 10:13:23 -0700 (PDT) Return-Path: 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 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 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> 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 */