Received: from multi.imgtec.com ([194.200.65.239]:50512 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6835045Ab3FSV5sGCx5T (ORCPT ); Wed, 19 Jun 2013 23:57:48 +0200 Message-ID: <51C22901.7050709@imgtec.com> Date: Wed, 19 Jun 2013 16:56:17 -0500 From: "Steven J. Hill" MIME-Version: 1.0 Subject: Re: [PATCH v4 2/3] MIPS: microMIPS: Add kernel_uses_mmips in cpu-features.h References: <20130527124421.GA32322@hades> <20130527124557.GB32322@hades> <51A36EE6.3040901@cogentembedded.com> In-Reply-To: <51A36EE6.3040901@cogentembedded.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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: Sergei Shtylyov Cc: Tony Wu , ralf@linux-mips.org, macro@linux-mips.org, david.daney@cavium.com, linux-mips@linux-mips.org Message-ID: <20130619215617.0AdovnW9i9ktI6ijcxknMu7E4PnyQAzvsCJEVFFiBlo@z> On 05/27/2013 09:34 AM, Sergei Shtylyov wrote: > Hello. > > On 27-05-2013 16:45, Tony Wu wrote: > >> Add kernel_uses_mmips to denote whether CONFIG_CPU_MICROMIPS >> is set or not. This variable can help cut down #ifdef usage. > > You can avoid #ifdef usage with using IS_BUILTIN() macro, not > defining extra macros. > >> Signed-off-by: Tony Wu >> Cc: David Daney >> Cc: Steven J. Hill > > WBR, Sergei > > I think this patch is not needed with being used instead? -Steve