Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:32585 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6817420AbaHMANoBr09q (ORCPT ); Wed, 13 Aug 2014 02:13:44 +0200 Date: Wed, 13 Aug 2014 05:48:50 +0530 From: Jayachandran C. Subject: Re: [PATCH 1/2] MIPS: Move CPU topology macros to topology.h Message-ID: <20140813001849.GA27602@jayachandranc.netlogicmicro.com> References: <1407467768-24097-1-git-send-email-chenhc@lemote.com> <20140808134738.GG29898@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20140808134738.GG29898@linux-mips.org> Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Ralf Baechle Cc: Huacai Chen , John Crispin , "Steven J. Hill" , Aurelien Jarno , linux-mips@linux-mips.org, Fuxin Zhang , Zhangjin Wu Message-ID: <20140813001850.jpNeEHGgB3gb2ga9IIScRwsIoy3dRDWh64rtF85SXg4@z> On Fri, Aug 08, 2014 at 03:47:38PM +0200, Ralf Baechle wrote: > Jayachandran, > > could you convert the netlogic platforms to use this scheme, too? > We then could drop the #ifdefs introduced by this patch. The same sequence is used by ip27 platform as well, so I think the ifndef may still be needed. This is the same ifndef pattern we use for all our mach-generic/*.h vs. mach-/*.h On second thought, I am not sure if the changes in Huacai's patch has to be in asm/topology.h, probably this has to be in mach-generic/topology.h JC.