From 58fd4766787eacd89a0859b0c4b90bd24258f971 Mon Sep 17 00:00:00 2001 From: Nicholas Piggin Date: Mon, 5 Nov 2018 10:47:32 +0800 Subject: 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 --- arch/nios2/mm/tlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/nios2/mm/tlb.c') diff --git a/arch/nios2/mm/tlb.c b/arch/nios2/mm/tlb.c index 6e0fcaa0230a..b87387d664d1 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) -- cgit v1.2.3-59-g8ed1b