From patchwork Thu Apr 28 08:22: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: 66869 Delivered-To: patches@linaro.org Received: by 10.140.93.198 with SMTP id d64csp78128qge; Thu, 28 Apr 2016 01:22:40 -0700 (PDT) X-Received: by 10.194.116.103 with SMTP id jv7mr14802504wjb.22.1461831759994; Thu, 28 Apr 2016 01:22:39 -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 8si35644565wmq.96.2016.04.28.01.22.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2016 01:22:39 -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 v200so3163368wmv.1 for ; Thu, 28 Apr 2016 01:22:39 -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=S+AIU1vfNm56DSjSo/jZuB9JGtlAerzKYBukDxFcoSKD9uTvhkuBVAvfgyiRubDpbo ZART7bSt9Ds+Ga6JS7MfEur2QNfGkIFmoF0eDkAF6guG7XD+NkO4xzQyqIPQU0XN7HjI hgeYKIBKCMHzZXmAnkia6N50hm/6toJNrfRwY= 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=T/nUKOV6N4x6l73Vhbd/JtF/nIH+ZhDS3UiUvGnCZdGnI1FU+hFn/kYwKSQFufv2gx p/33YwHOcU+Nolw0giMwrI8vCqIiticVX5r3YHROvmjIGQTUIdIQMuoukW6Blq8Mtl0v Y+Th33gZxata0m9g1EmBBceV8NA5/D3v0CtZV1psnaYSwm1KLlmax1OYQiUOREr/WN/z 3/kerIp9XK14bDrnvhe458+CzK7VZb+hpEUhQP7UdfBEz/z8g4qQ22XnHG/tb6BSMNr9 5zskc9YILSrLQmCwDcOJKGNOY7Ut/W9SMhU/2tA/S9qr4GRVn3CSTEA0rHYtfd6qoAe1 Ujlg== X-Gm-Message-State: AOPr4FU235eU0vO0qzplvB4dpQHEfyE7PbyDH9S8U/ZnwxJlkz/BNo1gU+M5UN8NqoYokhc/EUE= X-Received: by 10.28.213.1 with SMTP id m1mr6788727wmg.103.1461831759775; Thu, 28 Apr 2016 01:22:39 -0700 (PDT) Return-Path: Received: from new-host-46.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id b124sm3568725wmb.1.2016.04.28.01.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Apr 2016 01:22:38 -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 v8 3/8] genirq/msi: export msi_get_domain_info Date: Thu, 28 Apr 2016 08:22:05 +0000 Message-Id: <1461831730-5575-4-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461831730-5575-1-git-send-email-eric.auger@linaro.org> References: <1461831730-5575-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 */