You need to sign in or sign up before continuing.
  • J
    MIPS: KVM: Move non-TLB handling code out of tlb.c · 403015b3
    James Hogan 提交于
    Various functions in tlb.c perform higher level MMU handling, but don't
    strictly need to be statically built into the kernel as they don't
    directly manipulate TLB entries. Move these functions out into a
    separate mmu.c which will be built into the KVM kernel module. This
    allows them to directly reference KVM functions in the KVM kernel module
    in future.
    
    Module exports of these functions have been removed, since they aren't
    needed outside of KVM.
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Radim Krčmář <rkrcmar@redhat.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    403015b3
kvm_host.h 27.2 KB