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 we are able to build a generic kernel, which works also on Loongson64. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]