MIPS: Export mm switching functions used by KVM
authorPaul Burton <paul.burton@mips.com>
Tue, 5 Feb 2019 19:44:44 +0000 (11:44 -0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 5 Feb 2019 19:44:44 +0000 (11:44 -0800)
commit6782f26c0d4062bfd594a401e517fb9ed7d928d0
tree3765bf431eef71e6d83705d9d6cbbbb9c50ea539
parent62c2766cf69d910bffb59d8b6b8d77e244ded80e
MIPS: Export mm switching functions used by KVM

KVM makes use of check_switch_mmu_context(), check_mmu_context() &
get_new_mmu_context() which are no longer static inline functions in a
header. As such they need to be exported for KVM to successfully build
as a module, which was previously overlooked. Add the missing exports.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: 4ebea49ce233 ("MIPS: mm: Un-inline get_new_mmu_context")
Fixes: 42d5b846574f ("MIPS: mm: Unify ASID version checks")
arch/mips/mm/context.c