Tiezhu Yang
1e07c876ab
MIPS: Loongson: Do not initialise statics to 0
...
Fix the following checkpatch error:
ERROR: do not initialise statics to 0
#125 : FILE: loongson64/numa.c:125:
+ static unsigned long num_physpages = 0;
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn >
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
2020-03-19 13:17:14 +01:00
Thomas Bogendoerfer
a14879e149
MIPS: Loongson64: Fix node_distance()
...
Local node distance is defined as LOCAL_DISTANCE, which is 10. Use the
define to give back correct local distance.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de >
Signed-off-by: Paul Burton <paulburton@kernel.org >
Cc: Huacai Chen <chenhc@lemote.com >
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: James Hogan <jhogan@kernel.org >
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2020-01-09 09:54:29 -08:00
Jiaxun Yang
6fbde6b492
MIPS: Loongson64: Move files to the top-level directory
...
Current Loongson-3 code can share among all Loongson64 processors.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com >
Signed-off-by: Paul Burton <paulburton@kernel.org >
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
2019-11-01 14:31:28 -07:00