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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 20, 2013 at 5:56 AM, Steven J. Hill <Steven.Hill@xxxxxxxxxx> wrote:
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 <tung7970@xxxxxxxxx>
Cc: David Daney <david.daney@xxxxxxxxxx>
Cc: Steven J. Hill <Steven.Hill@xxxxxxxxxx>

WBR, Sergei


I think this patch is not needed with <http://patchwork.linux-mips.org/patch/5327/> being used instead?

-Steve


I think cpu_has_mmips does not necessary mean kernel is compiled using microMIPS ISA, so I added kernel_uses_mmips for that purpose. We can remove this patch, but the third patch of this patch set will need some modifications. I will send new patches later.

Thanks,
Tony

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux