Paul Burton 42d5b84657
MIPS: mm: Unify ASID version checks
Introduce a new check_mmu_context() function to check an mm's ASID
version & get a new one if it's outdated, and a
check_switch_mmu_context() function which additionally sets up the new
ASID & page directory. Simplify switch_mm() & various
get_new_mmu_context() callsites in MIPS KVM by making use of the new
functions, which will help reduce the amount of code that requires
modification to gain MMID support.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
2019-02-04 10:56:30 -08:00
..
2018-12-05 14:46:44 -08:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2019-02-04 10:56:30 -08:00
2018-10-31 08:54:16 -07:00
2018-07-05 14:43:21 -07:00
2017-02-02 15:06:26 +00:00
2018-12-03 13:42:38 -08:00