diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-11-05 10:47:32 +0800 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2019-03-07 05:29:35 +0800 |
commit | 58fd4766787eacd89a0859b0c4b90bd24258f971 (patch) | |
tree | 851e625683692d3c5df8221038d138ff3b0e102f /arch/nios2 | |
parent | 7d1730708b8aa345a9b2e9e1ffa2d9aa7019d4e2 (diff) | |
download | linux-rt-58fd4766787eacd89a0859b0c4b90bd24258f971.tar.gz |
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/mm/tlb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |