aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/vdso/vclock_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/entry/vdso/vclock_gettime.c')
-rw-r--r--arch/x86/entry/vdso/vclock_gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/vdso/vclock_gettime.c b/arch/x86/entry/vdso/vclock_gettime.c
index 972b488ac16a..0340d93c18ca 100644
--- a/arch/x86/entry/vdso/vclock_gettime.c
+++ b/arch/x86/entry/vdso/vclock_gettime.c
@@ -186,7 +186,7 @@ notrace static cycle_t vread_tsc(void)
186 * but no one has ever seen it happen. 186 * but no one has ever seen it happen.
187 */ 187 */
188 rdtsc_barrier(); 188 rdtsc_barrier();
189 ret = (cycle_t)native_read_tsc(); 189 ret = (cycle_t)rdtsc();
190 190
191 last = gtod->cycle_last; 191 last = gtod->cycle_last;
192 192