From patchwork Fri Feb 26 17:35:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Auger X-Patchwork-Id: 8440241 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EAC66C0553 for ; Fri, 26 Feb 2016 17:38:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E78A203AD for ; Fri, 26 Feb 2016 17:38:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BB9E203B4 for ; Fri, 26 Feb 2016 17:38:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422904AbcBZRga (ORCPT ); Fri, 26 Feb 2016 12:36:30 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38564 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422900AbcBZRg2 (ORCPT ); Fri, 26 Feb 2016 12:36:28 -0500 Received: by mail-wm0-f53.google.com with SMTP id a4so79230942wme.1 for ; Fri, 26 Feb 2016 09:36:27 -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=U32clRTHaKhzanDLbGEDbOBnWGuSEbfgzBqangpUN+3oOAGCN3Q/k+nSOoTbSCoCad LLMaD1K5vCXCutuktsNTq2C/pMIYme8wzGP9Mn/JrWsR7zLfoo4XBVbcrWDkKsJqC/7X ASJX4a9EveMIUbr+wYs6IZxNqUNM+B9brUzwM= 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=T2uiRx7E8cMNNm0T7TVwuYRCb3yDs1rA0hgBANZZlnz/p33oI6k0r0c0vj5KIeC2Tg GdIhfVHGo9N6SN6IbfytVR3L/AvBILWNAokwIyiE/ISApZ1eYiED0JUBCpV+XOEDGNDl kytq6TJ11TqoR4VaJL0GJc/nqKtwoGmhrIW0sQwTecAGvOj6J0PgCdgvbyptgFq5I6UX qa5w37E75HygyG0GT5Z4+vFqL7ccAJjXeRHfSmx6dAuGyRRj4F3c0VizhXTg1pIe5SNx YkCggT5b5J4CJYUfRhCztuV4T8i5ZRN2KkjE++9fR0jzLprYZa3c12jX7FoB4LXQybrA bl/A== X-Gm-Message-State: AD7BkJJpfp/p+5jFzj+5Q/IUoXsx7Vsx7ZpP4NqWSCiprAeCHmB4RBY5XZrTQcLmDnFXO3iJ X-Received: by 10.194.238.34 with SMTP id vh2mr3264784wjc.157.1456508187071; Fri, 26 Feb 2016 09:36:27 -0800 (PST) Received: from new-host-8.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id 77sm3750373wmp.18.2016.02.26.09.36.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Feb 2016 09:36:21 -0800 (PST) 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, 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 Subject: [RFC v4 08/14] msi: export msi_get_domain_info Date: Fri, 26 Feb 2016 17:35:48 +0000 Message-Id: <1456508154-2253-9-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456508154-2253-1-git-send-email-eric.auger@linaro.org> References: <1456508154-2253-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.8 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 */