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: Eric Auger X-Patchwork-Id: 8288061 Return-Path: X-Original-To: patchwork-kvm@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 238DF9F3CD for ; Fri, 12 Feb 2016 08:15:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F9DC203C4 for ; Fri, 12 Feb 2016 08:15:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8658F2035D for ; Fri, 12 Feb 2016 08:15:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736AbcBLIOh (ORCPT ); Fri, 12 Feb 2016 03:14:37 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35623 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbcBLIOd (ORCPT ); Fri, 12 Feb 2016 03:14:33 -0500 Received: by mail-wm0-f52.google.com with SMTP id c200so9160368wme.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=NtfTjmvwgzaDYnPr19gO81YS40PogwRaQHmFRWdq3EGsbvnqV/lNhOED4wR+rZa/Wi SxDIXQYEETlGbAVBtDs8xf+wFvvVV6Wzbd9FSDAYfgQfQPMao/w8Mg72AWcWSXkuPQbB kILXOcGetlMf34LDApXeDFI7zdweQqm4OB8uIS71UQ9Z1DMOtGGbYxwLLS4v6RBgsA2E 7pywe2L8ccAeWv91NDgOiOBkOZdlqc36K6/RnrzWfQDVH3Vhx3h/tuuN6yyuRxInpZbx hUVPfNQv8Wub8zIBtylD1sdeZSyia/LZK4mnXiNSPMTpXq7j+CmymUy1YV7IyIhMPULl oibA== X-Gm-Message-State: AG10YOSnhco+7CkH7BdDaz1fyz2w7A2ZyHd3bIEt8FE8DJI8nFx6V8h1eKkXAGS6Jhb2jqEH X-Received: by 10.28.0.86 with SMTP id 83mr1553388wma.63.1455264872133; Fri, 12 Feb 2016 00:14:32 -0800 (PST) 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> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 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(+) 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 */