Commit 58fd4766 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Ley Foon Tan

nios2: flush_tlb_pid can just restore TLBMISC once

This matches the other functions in this file that use TLBMISC.
Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent 7d173070
...@@ -228,9 +228,9 @@ void flush_tlb_pid(unsigned long pid) ...@@ -228,9 +228,9 @@ void flush_tlb_pid(unsigned long pid)
} }
addr += PAGE_SIZE; addr += PAGE_SIZE;
WRCTL(CTL_TLBMISC, org_misc);
} }
WRCTL(CTL_TLBMISC, org_misc);
} }
void flush_tlb_all(void) void flush_tlb_all(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment