Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756269AbbDIVRQ (ORCPT ); Thu, 9 Apr 2015 17:17:16 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:61964 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756075AbbDIVRN (ORCPT ); Thu, 9 Apr 2015 17:17:13 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Kumar Gala , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, arm@kernel.org, Abhimanyu Kapur Subject: Re: [RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection Date: Thu, 09 Apr 2015 23:17:06 +0200 Message-ID: <3133453.Cys8lc6CAy@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1428601031-5366-4-git-send-email-galak@codeaurora.org> References: <1428601031-5366-1-git-send-email-galak@codeaurora.org> <1428601031-5366-4-git-send-email-galak@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:/hFpXhTDZj/hn/c1hCu56BHVsEv1OoeItQm4gOXB+fP99WSk3lD vkq5ueWKITYDLyni70EPSZN+ryBsS3DzGYZ8mb1RGQOCg9EqDV8TL9OoaLOvhklRlFLMn16 9Ex7V4XbPWNX+vPOoXtflxbE7gTe8cK0d1PNgikySk7ujPUEoyxQeD9W5dIfkLsHSlGI9i9 e+ruIOd+lFnck2pttX5AA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 22 On Thursday 09 April 2015 12:37:09 Kumar Gala wrote: > @@ -67,4 +67,9 @@ extern const struct cpu_operations *cpu_ops[NR_CPUS]; > int __init cpu_read_ops(struct device_node *dn, int cpu); > void __init cpu_read_bootcpu_ops(void); > > +#define CPU_METHOD_OF_DECLARE(name, __ops) \ > + static const struct cpu_operations *__cpu_method_table_##name \ > + __used __section(__cpu_method_of_table) \ > + = __ops; > + > #endif /* ifndef __ASM_CPU_OPS_H */ > I'd rather not add this, to avoid giving the appearance that platforms can just add another one here. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/