--- zzzz-none-000/linux-3.10.107/arch/x86/kernel/trace_clock.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/x86/kernel/trace_clock.c 2021-02-04 17:41:59.000000000 +0000 @@ -12,10 +12,5 @@ */ u64 notrace trace_clock_x86_tsc(void) { - u64 ret; - - rdtsc_barrier(); - rdtscll(ret); - - return ret; + return rdtsc_ordered(); }