]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Fix EENTRY/MERRENTRY setting in setup_tlb_handler()
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 23 Jun 2022 08:11:54 +0000 (16:11 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jun 2022 10:05:58 +0000 (18:05 +0800)
commit98ab827b99f554d400ae302c459051a1ab020e6e
tree3c57057a899750e8cc194f71243eda9a601d1741
parentd53d48f59055a0c6c8350ee00fa72337fbc26de1
LoongArch: Fix EENTRY/MERRENTRY setting in setup_tlb_handler()

setup_tlb_handler() is expected to set per-cpu exception handlers, but
it only set the TLBRENTRY successfully because of copy & paste errors,
so fix it.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/mm/tlb.c