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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -228,10 +228,10 @@ void flush_tlb_pid(unsigned long pid)
		}

		addr += PAGE_SIZE;
	}

	WRCTL(CTL_TLBMISC, org_misc);
}
}

void flush_tlb_all(void)
{