diff options
Diffstat (limited to 'arch/x86/include/asm/pvclock.h')
-rw-r--r-- | arch/x86/include/asm/pvclock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pvclock.h b/arch/x86/include/asm/pvclock.h index 2bd69d62c623..5c490db62e32 100644 --- a/arch/x86/include/asm/pvclock.h +++ b/arch/x86/include/asm/pvclock.h | |||
@@ -62,7 +62,7 @@ static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) | |||
62 | static __always_inline | 62 | static __always_inline |
63 | u64 pvclock_get_nsec_offset(const struct pvclock_vcpu_time_info *src) | 63 | u64 pvclock_get_nsec_offset(const struct pvclock_vcpu_time_info *src) |
64 | { | 64 | { |
65 | u64 delta = native_read_tsc() - src->tsc_timestamp; | 65 | u64 delta = rdtsc() - src->tsc_timestamp; |
66 | return pvclock_scale_delta(delta, src->tsc_to_system_mul, | 66 | return pvclock_scale_delta(delta, src->tsc_to_system_mul, |
67 | src->tsc_shift); | 67 | src->tsc_shift); |
68 | } | 68 | } |