diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-09 21:12:34 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-08-04 14:52:21 +0300 |
commit | abe9efa79be02cf2ba27f643b214b07877bb050b (patch) | |
tree | c6dc89fa650f50a2409307d0a92ed00d5d8fbb32 /security | |
parent | 3aed64f6d341cdb62bb2d6232589fb13448ce063 (diff) | |
download | linux-abe9efa79be02cf2ba27f643b214b07877bb050b.tar.xz |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions