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: Auger Eric X-Patchwork-Id: 63097 Delivered-To: patches@linaro.org Received: by 10.112.235.234 with SMTP id up10csp980lbc; Fri, 26 Feb 2016 09:36:34 -0800 (PST) X-Received: by 10.28.187.134 with SMTP id l128mr4235931wmf.61.1456508187270; Fri, 26 Feb 2016 09:36:27 -0800 (PST) Return-Path: Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com. [2a00:1450:400c:c09::232]) by mx.google.com with ESMTPS id y72si5263081wmc.48.2016.02.26.09.36.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2016 09:36:27 -0800 (PST) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::232 as permitted sender) client-ip=2a00:1450:400c:c09::232; Authentication-Results: mx.google.com; spf=pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::232 as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-wm0-x232.google.com with SMTP id g62so82766013wme.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=GYrn0FMpmb0iSeEAfY0UsbniCCPIngaPYSdg8Z9ajw8K1hPVeGNnfozGl2MvEHybL5 8XYDiBKjwRI9bRgGXhAZzXXloHCqf/IATxS9EhFumq/r3wZKoV4SNZ5DpTfv67cRvPUG Urd6FPxMvGryqtmVWbDzznWYPgquCDoO0XOjilozDp3pdbEQumQ0NDSxqvA1bvbCGLQW oSBw/p39+W4TlSesUe99wrjeFSqTJHHBcoTgEMt6Yybn+iO+CZm7Usn37HwHmlT5vQzg UYKfRMGRNqxCU9xZbHH3x3QpBXTrRn54T2tNKUKva1tePS3YYIlvkZmMSWIaA77Neqi5 lglg== X-Gm-Message-State: AD7BkJLxk4ry5h63usm/qWE5xZkz0iNzc3GxdIuRdRKeczgBDkd2weTUpBgUD0u0QhDkhAcnspA= X-Received: by 10.194.238.34 with SMTP id vh2mr3264784wjc.157.1456508187071; Fri, 26 Feb 2016 09:36:27 -0800 (PST) Return-Path: 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> 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 */