[Top] [All Lists]

Re: [PATCH v4 2/3] MIPS: microMIPS: Add kernel_uses_mmips in cpu-feature

To: Sergei Shtylyov <>
Subject: Re: [PATCH v4 2/3] MIPS: microMIPS: Add kernel_uses_mmips in cpu-features.h
From: "Steven J. Hill" <>
Date: Wed, 19 Jun 2013 16:56:17 -0500
Cc: Tony Wu <>, <>, <>, <>, <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <20130527124421.GA32322@hades> <20130527124557.GB32322@hades> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
On 05/27/2013 09:34 AM, Sergei Shtylyov wrote:

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?


<Prev in Thread] Current Thread [Next in Thread>