From patchwork Fri Feb 12 08:13:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 61829 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp676810lbl; Fri, 12 Feb 2016 00:14:37 -0800 (PST) X-Received: by 10.194.158.36 with SMTP id wr4mr256815wjb.134.1455264872317; Fri, 12 Feb 2016 00:14:32 -0800 (PST) Return-Path: Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com. [2a00:1450:400c:c09::22f]) by mx.google.com with ESMTPS id bm5si17712343wjb.92.2016.02.12.00.14.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Feb 2016 00:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::22f as permitted sender) client-ip=2a00:1450:400c:c09::22f; Authentication-Results: mx.google.com; spf=pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::22f as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-wm0-x22f.google.com with SMTP id g62so8952116wme.0 for ; Fri, 12 Feb 2016 00:14:32 -0800 (PST) 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=I4Uj50kB4wZJgV4iE1VMsYcug3+YESduHp3nTFCsI86CB00xSUEr5pyT4ChUFBFeSv EWtxs+TQI4s3g3VdPvSAYi8e8v0FLfJOImDDCZXtnxWqaG2VgCpj0aNQX72ckTNb/yAc 4PLD3DpFXuZukVdnY2GWj+rcTUxN8WlptuBew= 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=egcm64YANAYrH2uZneFD1oh+UKWMpyzpE7zMEWD2SsyD0u+7SvsWxKCUXWZP3NF43O FC17QR6qcftLFnZh1zT4bKbS02IcV/RQ1c0iVX3y0kU0O6iFx7RJDd/zZsWYGt/herJj /SHq0/IVCxx3w5vMdpMbcD2cz2R8SugnJZF+OqkGgTXf9dqaQl4Et7gRtmltCVwYlTas SQvAX5hp5nNICOSGAX047gTtE05v2Zlrq77tLLyzU2xagHVqffW0SfJBRQap/M36oiIT jKAglNcSCi7RZ2MKe4UdKlaudkYjmF+K+C+/gAeiuKCD2TFLA6CrOoavK91KL1I/7xXy LpZg== X-Gm-Message-State: AG10YOSceE6ywvgxrSPqqeMzyjCwtE/i0ZzF6UEDyPAKBVRAkyjSkppyylb2737wyKleQA62fus= X-Received: by 10.28.0.86 with SMTP id 83mr1553388wma.63.1455264872133; Fri, 12 Feb 2016 00:14:32 -0800 (PST) Return-Path: Received: from new-host-17.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id x66sm1243977wmb.20.2016.02.12.00.14.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 00:14:29 -0800 (PST) From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, 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, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: suravee.suthikulpanit@amd.com, patches@linaro.org, linux-kernel@vger.kernel.org, Manish.Jaggi@caviumnetworks.com, Bharat.Bhushan@freescale.com, pranav.sawargaonkar@gmail.com, p.fedin@samsung.com, iommu@lists.linux-foundation.org, sherry.hurwitz@amd.com, brijesh.singh@amd.com, leo.duran@amd.com, Thomas.Lendacky@amd.com Subject: [RFC v3 12/15] msi: export msi_get_domain_info Date: Fri, 12 Feb 2016 08:13:14 +0000 Message-Id: <1455264797-2334-13-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455264797-2334-1-git-send-email-eric.auger@linaro.org> References: <1455264797-2334-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 */