diff options
| author | James Hogan <james.hogan@imgtec.com> | 2016-06-09 14:19:18 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-14 11:02:46 +0200 |
| commit | 19d194c62b25cafaf64a5fe74305b3e9b84d63d8 (patch) | |
| tree | 71915404ccb9a8c1696ffcb3ecbb2e5486991852 /tools/perf/scripts/python | |
| parent | MIPS: KVM: Arrayify struct kvm_mips_tlb::tlb_lo* (diff) | |
| download | linux-19d194c62b25cafaf64a5fe74305b3e9b84d63d8.tar.gz linux-19d194c62b25cafaf64a5fe74305b3e9b84d63d8.zip | |
MIPS: KVM: Simplify TLB_* macros
Simplify some of the TLB_ macros making use of the arrayification of
tlb_lo. Basically we index the array by the bit of the virtual address
which determines whether the even or odd entry is used, instead of
having a conditional.
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
