commit | abe9efa79be02cf2ba27f643b214b07877bb050b | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 09 20:12:34 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Aug 04 13:52:21 2016 +0200 |
tree | c6dc89fa650f50a2409307d0a92ed00d5d8fbb32 | |
parent | 3aed64f6d341cdb62bb2d6232589fb13448ce063 [diff] |
x86: vdso: use __pvclock_read_cycles The new simplified __pvclock_read_cycles does the same computation as vread_pvclock, except that (because it takes the pvclock_vcpu_time_info pointer) it has to be moved inside the loop. Since the loop is expected to never roll, this makes no difference. Acked-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>