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 <npiggin@gmail.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
This commit is contained in:
Nicholas Piggin 2018-11-05 10:47:32 +08:00 committed by Ley Foon Tan
parent 7d1730708b
commit 58fd476678
1 changed files with 2 additions and 2 deletions

View File

@ -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)