]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6332b249740b5d32b0e19f90b3051cee8f86909
treee475b8afd292ef567ef640bbf5ae0397abe4b82e
parent6f0df99eb6d5d299752f7eab7618b33e1d9ff7e7
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