From patchwork Thu Oct 12 12:30:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 115618 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1884596qgn; Thu, 12 Oct 2017 05:31:20 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDTdlDfjde9XpXZu3w8Jpz9SSDd0kdCt3vDTnKILdDNdyKmowtrf5WflxIkiLQZiNuI0SDe X-Received: by 10.84.175.195 with SMTP id t61mr104078plb.59.1507811480292; Thu, 12 Oct 2017 05:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507811480; cv=none; d=google.com; s=arc-20160816; b=BWXHBoyCCsyOL/rGIy7r+hRshsFkMbWfD2UKtOAbaPe/JS9YpeDGIKl2qBlvb/G7ar TKUlcR4oP0yeHHeFGrgQkAGfoJTGGpXCEk/N8sHV9wo/1hyM+vbA7d5m+Wj38fOm166w +ZAPFlrCFh7H5e1n++mJw9Ll9SpgvUUV26K7ub086gUmj7DhLVzkI+QapPA4ZjM0stBK cmthVegP9IAwy5rQs4U3TnGA26LS969WH2QLLc6xlOXopuaESb+FlFeiPv5u9hnGWhTG mz0H7k/453voyI0+vbLYotUSUJbfVjygkoAeMqjaUBtNuMv+oPDibRAflJQBV/rx+4Q2 PNCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=SSI7Coz0TUoAGNbWGI1kqKidFT12innqxIrUvS1zgnU=; b=UH6Kip9a2KI86BHx/lzgnQOJDefwn5j8AKKPj0jbZ3uMsypqjS66GVtrVlWanVU4TV jFm4KdVtp2grlm21Qd6s73PBbo9tJZ/JmSBU+K8mbBpdEMAYxQcTwZ0FxAPXdlKxBX+o /u08tv6Zhme6DNH+cDFthMEVqrhlE6E7vKbeoJFodbu5kU2D67PnvYq6ugxNwxdxyyMY 6doZZv034/fcWMrNPAhzueW3G7ezoL8UsTVW57QR9yqaAjjK3kGoYsntb4cvtzTNWTYt 0y9wqJZVLtFzsJ5HbQoZo9mHfBhRhfPrzqjBcoklGrnjJwbOIkMjffa+gQ2ubC26o7Zd 2cEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a27si1110789pfe.519.2017.10.12.05.31.20; Thu, 12 Oct 2017 05:31:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757349AbdJLMak (ORCPT + 27 others); Thu, 12 Oct 2017 08:30:40 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:45826 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753246AbdJLMah (ORCPT ); Thu, 12 Oct 2017 08:30:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EFE5715BE; Thu, 12 Oct 2017 05:30:36 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C16143F59C; Thu, 12 Oct 2017 05:30:36 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 71AAC1AE1952; Thu, 12 Oct 2017 13:30:40 +0100 (BST) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Cc: marc.zyngier@arm.com, mark.rutland@arm.com, kim.phillips@arm.com, tglx@linutronix.de, peterz@infradead.org, alexander.shishkin@linux.intel.com, robh@kernel.org, suzuki.poulose@arm.com, pawel.moll@arm.com, mathieu.poirier@linaro.org, mingo@redhat.com, linux-kernel@vger.kernel.org, Will Deacon Subject: [PATCH v6 1/7] genirq: export irq_get_percpu_devid_partition to modules Date: Thu, 12 Oct 2017 13:30:32 +0100 Message-Id: <1507811438-2267-2-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1507811438-2267-1-git-send-email-will.deacon@arm.com> References: <1507811438-2267-1-git-send-email-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any modular driver using cluster-affine PPIs needs to be able to call irq_get_percpu_devid_partition so that it can enable the IRQ on the correct subset of CPUs. This patch exports the symbol so that it can be called from within a module. Acked-by: Marc Zyngier Acked-by: Thomas Gleixner Signed-off-by: Will Deacon --- kernel/irq/irqdesc.c | 1 + 1 file changed, 1 insertion(+) -- 2.1.4 diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index 82afb7ed369f..694c1a9d6485 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -863,6 +863,7 @@ int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity) return 0; } +EXPORT_SYMBOL_GPL(irq_get_percpu_devid_partition); void kstat_incr_irq_this_cpu(unsigned int irq) {