From patchwork Tue Mar 1 18:27:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 63333 Delivered-To: patches@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1981627lbc; Tue, 1 Mar 2016 10:28:47 -0800 (PST) X-Received: by 10.28.125.211 with SMTP id y202mr467994wmc.18.1456856925199; Tue, 01 Mar 2016 10:28:45 -0800 (PST) Return-Path: Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com. [2a00:1450:400c:c09::233]) by mx.google.com with ESMTPS id k188si441902wmd.53.2016.03.01.10.28.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Mar 2016 10:28:45 -0800 (PST) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::233 as permitted sender) client-ip=2a00:1450:400c:c09::233; Authentication-Results: mx.google.com; spf=pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:400c:c09::233 as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-wm0-x233.google.com with SMTP id l68so48096152wml.0 for ; Tue, 01 Mar 2016 10:28:45 -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=R/UgGy6XqVSa9y9O7a4Ah4BP10OnOyj8EF9pbgocAbn9lvAihnFP2rml598HQppvWC XsHvRuaoeTPH/9BRQ5TMSqwRk4hGkgdsCrLYpDLxVPsR2hM8zecrD3fbhz0sVjdzjuwj CLDnNJNF+XRIpPPCxW6zNWF5+UwI3FYouK5vI= 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=JrWdtrdSJ/bjeeVHLmL3QvJT1l9oPB1UGJgt2sFVvXvaVzmigXzuE0ta9W0vSoYtjj 0Ly/64nu4ZExoRjwu4rKwcH9C9/eaejIo2YM7tjVgvJX2YwvQ9NoxzrCvh5rxkuyghNW FLL0HU5wWuZCvYO1krim81o5jeQQkvXiuHrEbzfqyqztrWOoC/NZG4kL9/ujqZvz5l0e E36rWEXVf5/EXB+//NLBL3m3BKgPtoHYEe+qrlwDB/yZDi52QoWMy/5JzLxBXHbScBFN P2qBJrdqyDsqyjUNV+IWnirpaLoLncpkkx+LiOZENB/osRWqX0wVtG36rQINeZm1S4lC K+lw== X-Gm-Message-State: AD7BkJKEM+wDhVayLin88Md0EwqFw02AOVyk9Q5In8QrNiFU0r/Tp0d+1q4QLKphrW1ghB2tO1g= X-Received: by 10.194.3.110 with SMTP id b14mr22267874wjb.116.1456856925015; Tue, 01 Mar 2016 10:28:45 -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 k8sm32176385wjr.38.2016.03.01.10.28.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 10:28:43 -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 v5 10/17] msi: export msi_get_domain_info Date: Tue, 1 Mar 2016 18:27:50 +0000 Message-Id: <1456856877-4817-11-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456856877-4817-1-git-send-email-eric.auger@linaro.org> References: <1456856877-4817-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 */