Re: [PATCH v3 6/6] MIPS: Loongson64: Move decode_cpucfg() to loongson_regs.h

2020-11-11 Thread Thomas Bogendoerfer
On Tue, Nov 03, 2020 at 03:12:05PM +0800, Tiezhu Yang wrote: > Since decode_cpucfg() is only used for Loongson64, just move > it to loongson_regs.h to avoid the pollution of common code > with #ifdef CONFIG_CPU_LOONGSON64. right now I prefer the way it is. Something like this would be needed, if w

[PATCH v3 6/6] MIPS: Loongson64: Move decode_cpucfg() to loongson_regs.h

2020-11-02 Thread Tiezhu Yang
Since decode_cpucfg() is only used for Loongson64, just move it to loongson_regs.h to avoid the pollution of common code with #ifdef CONFIG_CPU_LOONGSON64. Signed-off-by: Tiezhu Yang --- v2: No changes v3: No changes .../include/asm/mach-loongson64/loongson_regs.h| 24 + ar