KVM: i8254: drop local copy of mul_u64_u32_div
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 08:28:41 +0000 (09:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 21:39:17 +0000 (22:39 +0100)
commit0e4d44151af7c8fca3d15c27d9b97d4ac41c102b
treee006d787abbb877a8283c28c4dc794ee73f6b0d0
parente23d3fef83df8e303fded0ab55b379beec0dd604
KVM: i8254: drop local copy of mul_u64_u32_div

A function that does the same as i8254.c's muldiv64 has been added
(for KVM's own use, in fact!) in include/linux/math64.h.  Use it
instead of muldiv64.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/i8254.c