OSDN Git Service

MIPS: Loongson64: Set the field ELPA of CP0_PAGEGRAIN only once
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 3 Nov 2020 07:12:01 +0000 (15:12 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 11 Nov 2020 22:52:07 +0000 (23:52 +0100)
commitfe9863a19a5a73af8227548603fb521050769611
treee475b8afd292ef567ef640bbf5ae0397abe4b82e
parent4d1b3ac886b5c03e966199edcc7e0efddd5c4cb2
MIPS: Loongson64: Set the field ELPA of CP0_PAGEGRAIN only once

The field ELPA of CP0_PAGEGRAIN register is set at the beginning
of the kernel entry point in kernel-entry-init.h, no need to set
it again in numa.c, we can remove enable_lpa() and only print the
related information.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/loongson64/numa.c