diff options
| author | James Hogan <james.hogan@imgtec.com> | 2016-06-09 14:19:21 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-14 11:02:48 +0200 |
| commit | 35fec26242bd3ff5a770789185852d27b44ffaec (patch) | |
| tree | 2770f9dd675283b0837cdaea107662b9a0ed5917 /tools/perf/scripts/python | |
| parent | MIPS: KVM: Combine handle_tlb_ld/st_miss (diff) | |
| download | linux-35fec26242bd3ff5a770789185852d27b44ffaec.tar.gz linux-35fec26242bd3ff5a770789185852d27b44ffaec.zip | |
MIPS: KVM: Use va in kvm_get_inst()
Like other functions, make use of a local unsigned long va, for the
virtual address of the PC. This reduces the amount of verbose casting of
the opc pointer to an unsigned long.
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
