From patchwork Mon Apr 4 08:19:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 64960 Delivered-To: patches@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1053169lbc; Mon, 4 Apr 2016 01:19:51 -0700 (PDT) X-Received: by 10.25.31.148 with SMTP id f142mr6058527lff.18.1459757991581; Mon, 04 Apr 2016 01:19:51 -0700 (PDT) Return-Path: Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com. [2a00:1450:4010:c07::233]) by mx.google.com with ESMTPS id uj10si15267216lbc.137.2016.04.04.01.19.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 01:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:4010:c07::233 as permitted sender) client-ip=2a00:1450:4010:c07::233; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of eric.auger@linaro.org designates 2a00:1450:4010:c07::233 as permitted sender) smtp.mailfrom=eric.auger@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x233.google.com with SMTP id g184so83396942lfb.3 for ; Mon, 04 Apr 2016 01:19:51 -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=AWWzhUMqKx0b+RMo7Y9BX7BiGZZc2q5TF7cycj5K5uMxIlvW9dQl+d2BJQ/MFFTXxF GHWe87T/Y2yiLic/NnHecPHva+rjFvzCYZCIbp8KFdTREOiQ6OG5jZAIRJvQWmwHxWzb LjXSsxISI8x2EyiIlZNGqjzgS+1deZ4jlZVmw= 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=KBteYFU3W52WMDDoMDVVFisiGQyvgrTNejx24MRbh5UckQeAR5T7Es8ms04uS+lLSc Oy3C11CFP6VnB4gnPNakSWRdXHKY7VyzG5fk/dZcvyQG2EIz5o0sq9zEUs8EYMlAQ958 MiHa8fuGB18LIrL6iEQUtbWfypnkyg5r2uK3Et68ktb700B1p5kESTURRUfXJIopq8QZ 0g/MNYuiMnwarTv4PGi5zmvluq9VENKH2mRmm05MgTNlKxBlN6CILiAru5Flw7t2M6vw WPpJxZRdG/5NNoGqzwTrhWAIYRqIYOVk2tFKXnQjHpDhe1Q1EkYg/1Nsap0PWzGtQCHX KXrQ== X-Gm-Message-State: AD7BkJJKo/RdSxT/F3ardHex1PFmxe+TYLIZZOiFYpjkax9WxXwWRznb1QLpV+5/fJyoYD6wOZ4= X-Received: by 10.194.249.72 with SMTP id ys8mr21269298wjc.58.1459757991360; Mon, 04 Apr 2016 01:19:51 -0700 (PDT) Return-Path: Received: from new-host-2.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id w8sm27717203wjf.19.2016.04.04.01.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 01:19:49 -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, 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, Jean-Philippe.Brucker@arm.com, julien.grall@arm.com Subject: [PATCH v6 3/4] msi: export msi_get_domain_info Date: Mon, 4 Apr 2016 08:19:31 +0000 Message-Id: <1459757972-2814-4-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459757972-2814-1-git-send-email-eric.auger@linaro.org> References: <1459757972-2814-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 */