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-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2016-07-05 16:09:11 +02:00
2018-10-31 08:54:16 -07:00
2017-03-28 14:53:54 +01:00
2018-12-29 13:03:29 -08:00
2018-12-21 11:28:41 +01:00
2015-03-27 21:25:19 +00:00
2017-03-28 14:54:00 +01:00
2019-02-04 10:56:30 -08:00