commit | cbcf2dd3b3d4d990610259e8d878fc8dc1f17d80 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jul 16 21:04:54 2014 +0000 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 23 15:01:46 2014 -0700 |
tree | 56a7086ddb4b6af2df797a2ad94581d258e42d16 | |
parent | bb0b58127c5add364cb597d58b1cf66eb279eae8 [diff] |
x86: kvm: Make kvm_get_time_and_clockread() nanoseconds based Convert the relevant base data right away to nanoseconds instead of doing the conversion on every readout. Reduces text size by 160 bytes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Gleb Natapov <gleb@kernel.org> Cc: kvm@vger.kernel.org Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Stultz <john.stultz@linaro.org>