]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: KVM: Combine handle_tlb_ld/st_miss
authorJames Hogan <james.hogan@imgtec.com>
Thu, 9 Jun 2016 13:19:20 +0000 (14:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:47 +0000 (11:02 +0200)
commit75d36d8ae625ae91920243f34a6cd9fd1a84fc81
tree193997bf9f20d0f56e195816e6a657f4699debf8
parent5de88eace9bec8cd0119a92f9c2354e06b1c912f
MIPS: KVM: Combine handle_tlb_ld/st_miss

The handle_tlb_ld/st_miss handlers are logically equivalent and
textually almost identical, so combine their implementations into a
single kvm_trap_emul_handle_tlb_miss().

Signed-off-by: James 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: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/trap_emul.c