From patchwork Mon Jun 5 15:22:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 102727 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp968592qgd; Mon, 5 Jun 2017 08:22:57 -0700 (PDT) X-Received: by 10.84.225.18 with SMTP id t18mr15771750plj.15.1496676176924; Mon, 05 Jun 2017 08:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496676176; cv=none; d=google.com; s=arc-20160816; b=UPar2p1mzTeVMvPfARTBEvsKnaXeQBOe6kXCdhJfe/MtVnor2qUDr2Nd/RZPlnt0Nk gkcc88Xd7/31izeJhhhPNjJ07uMJk/h4VyWog0ooeSCaTek4nBxK9MjBgmd2QG+zYQNY ahHGdEOlpOFR2JTpLTMxzBvsqwhrvAipb+G0nGeNI2MeVqV6AvmxskUDwybiLRWZiFqp LBDHdMWon5k0O10rc1Nft7V30TDncti8eIkz52XR+fgC40jQaLxfSRO8BQnBfvogPe2j uW0MONwvBXLrINi4vRzOkRy/LcsyMOqjC8jS61HAF1Oq/t5KLPBsIQwlC9kgdGNThAGY Y1bQ== 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=174T2GjRCYAhwvEpkWw/Q0ovJap4405HRjn26LeiAy0=; b=gYRm1fU/uErDI6qbQqqPFZNjgqgjiE/G71TQ+2kibgxdN6eZGlpyetudyMKBDu6Njw 0ZziMgMliFNJCXtPlcnhv34ux1SZtA5RvsCi6buT+a0Txhf4VJBFJzfihl/vK2hDx6Ah JWlp6Ax4CtRdUNAP9ohsJb/Dt6uvY+eFKHjaLUcJvPeVlG2owOkdF5elSVlyt0+ZAAso vW3RkFL7FwP9fS4M7tjMDsTFvsegWYO8ecpaPfdYR5YCPtXXEjH+e8eFkBwCQ3hhBMuA GI1zqIqBcDLkr0Quet0KVuk+9NpjmYoiKrKexydIwKPC5z6Eaym8Je4KCz3Ep7O5yX6l spAw== 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 h26si6407966pfk.157.2017.06.05.08.22.56; Mon, 05 Jun 2017 08:22:56 -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 S1751370AbdFEPWy (ORCPT + 25 others); Mon, 5 Jun 2017 11:22:54 -0400 Received: from foss.arm.com ([217.140.101.70]:34126 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbdFEPWv (ORCPT ); Mon, 5 Jun 2017 11:22:51 -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 3630980D; Mon, 5 Jun 2017 08:22:51 -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 06C4B3F592; Mon, 5 Jun 2017 08:22:51 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 3DB001AE0DBD; Mon, 5 Jun 2017 16:22:58 +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 v4 1/5] genirq: export irq_get_percpu_devid_partition to modules Date: Mon, 5 Jun 2017 16:22:53 +0100 Message-Id: <1496676177-29356-2-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1496676177-29356-1-git-send-email-will.deacon@arm.com> References: <1496676177-29356-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 00bb0aeea1d0..1e6ae73eae59 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -856,6 +856,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) {