MIPS: KVM: Arrayify struct kvm_mips_tlb::tlb_lo*
authorJames Hogan <james.hogan@imgtec.com>
Thu, 9 Jun 2016 13:19:17 +0000 (14:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:45 +0000 (11:02 +0200)
commit9fbfb06a4065772571aa58d2583868268fc8be53
tree2831cb37f7dc1da02f2d9d1700f62fb5911c4bf9
parente922a4cb71e745e53e64446d792c4603df43643a
MIPS: KVM: Arrayify struct kvm_mips_tlb::tlb_lo*

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: James 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: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mmu.c
arch/mips/kvm/tlb.c
This page took 0.026065 seconds and 5 git commands to generate.