powerpc/mm/hash: Abstract context id allocation for KVM
KVM wants to be able to allocate an MMU context id, which it does
currently by calling __init_new_context().
We're about to rework that code, so provide a wrapper for KVM so it
can not worry about the details.
Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/include/asm/mmu_context.h 1 addition, 1 deletionarch/powerpc/include/asm/mmu_context.h
- arch/powerpc/kvm/book3s_64_mmu_host.c 1 addition, 1 deletionarch/powerpc/kvm/book3s_64_mmu_host.c
- arch/powerpc/mm/mmu_context_book3s64.c 8 additions, 2 deletionsarch/powerpc/mm/mmu_context_book3s64.c
Loading
Please register or sign in to comment