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:
parent
7d1730708b
commit
58fd476678
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue