From: Nicholas Piggin Date: Mon, 5 Nov 2018 02:47:32 +0000 (+0800) Subject: nios2: flush_tlb_pid can just restore TLBMISC once X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=58fd4766787eacd89a0859b0c4b90bd24258f971;p=linux.git nios2: flush_tlb_pid can just restore TLBMISC once This matches the other functions in this file that use TLBMISC. Signed-off-by: Nicholas Piggin Signed-off-by: Ley Foon Tan --- diff --git a/arch/nios2/mm/tlb.c b/arch/nios2/mm/tlb.c index 6e0fcaa0230ab..b87387d664d15 100644 --- a/arch/nios2/mm/tlb.c +++ b/arch/nios2/mm/tlb.c @@ -228,9 +228,9 @@ void flush_tlb_pid(unsigned long pid) } addr += PAGE_SIZE; - - WRCTL(CTL_TLBMISC, org_misc); } + + WRCTL(CTL_TLBMISC, org_misc); } void flush_tlb_all(void)