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

2020-11-02 Thread Jiaxun Yang
在 2020/11/3 11:15, 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 Hi all, Don't know if it's a good idea to move this piece of code

[PATCH v2 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 .../include/asm/mach-loongson64/loongson_regs.h| 24 +