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)
commit26808cebf14cdf1d835ae256188ece116d2ab377
tree3c57057a899750e8cc194f71243eda9a601d1741
parentbab1c299f3945ffe7934c05f3c50377ca4b291b4
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