diff options
author | James Hogan <[email protected]> | 2016-07-08 11:53:29 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2016-08-01 18:42:26 +0200 |
commit | 8296963e6e8c656c4d91dfa7245e49672aa9675e (patch) | |
tree | 2318d0ae22622bfa9b5ae81960c4fc7b0859edfa /tools/perf/scripts/python | |
parent | 172e02d1474d5c37a8728ccdfdc731c118366144 (diff) |
MIPS: KVM: Fix ptr->int cast via KVM_GUEST_KSEGX()
kvm_mips_trans_replace() passes a pointer to KVM_GUEST_KSEGX(). This
breaks on 64-bit builds due to the cast of that 64-bit pointer to a
different sized 32-bit int. Cast the pointer argument to an unsigned
long to work around the warning.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions