• J
    MIPS: KVM: Arrayify struct kvm_mips_tlb::tlb_lo* · 9fbfb06a
    James Hogan 提交于
    The values of the EntryLo0 and EntryLo1 registers for a TLB entry are
    stored in separate members of struct kvm_mips_tlb called tlb_lo0 and
    tlb_lo1 respectively. To allow future code which needs to manipulate
    arbitrary EntryLo data in the TLB entry to be simpler and less
    conditional, replace these members with an array of two elements.
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Radim Krčmář <rkrcmar@redhat.com>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    9fbfb06a
kvm_host.h 27.0 KB