KVM: x86: move nsec_to_cycles from x86.c to x86.h
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 21 Jun 2016 01:28:02 +0000 (22:28 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jun 2016 13:30:38 +0000 (15:30 +0200)
commit8d93c874ac899bfdf0ad3787baef684a0c878c2c
treeda1c4185a08082c0ef8fad9440b5573b5dcbf8e8
parented911b43adb889c37a37fa57a995f0b460c633b6
KVM: x86: move nsec_to_cycles from x86.c to x86.h

Move the inline function nsec_to_cycles from x86.c to x86.h, as
the next patch uses it from lapic.c.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h