summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-02-02 02:43:25 +0100
committerPaul Burton <paul.burton@mips.com>2019-02-04 19:56:30 +0100
commit42d5b846574f0904dbaf9dbdea4f19402589cddf (patch)
tree77fdb7637de77008be9443b6b16de0be15beacb5 /Kbuild
parentMIPS: mm: Un-inline get_new_mmu_context (diff)
downloadlinux-42d5b846574f0904dbaf9dbdea4f19402589cddf.tar.xz
linux-42d5b846574f0904dbaf9dbdea4f19402589cddf.zip
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
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions