Re: [PATCH] MIPS: Hardcode cpu_has_mmips=1 for microMIPS kernels

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

 



On Wed, 7 Nov 2018, Paul Burton wrote:

> diff --git a/arch/mips/include/asm/cpu-features.h b/arch/mips/include/asm/cpu-features.h
> index 0edba3e75747..8669fdb503a5 100644
> --- a/arch/mips/include/asm/cpu-features.h
> +++ b/arch/mips/include/asm/cpu-features.h
> @@ -195,7 +195,9 @@
>  #endif
>  
>  #ifndef cpu_has_mmips
> -# ifdef CONFIG_SYS_SUPPORTS_MICROMIPS
> +# if defined(__mips_micromips)

 Wouldn't it be cleaner if it was written:

# if defined(CONFIG_CPU_MICROMIPS)

?

  Maciej


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

  Powered by Linux