Merge branch 'pm-cpufreq'
[cascardo/linux.git] / drivers / cpufreq / intel_pstate.c
index 27faee5..3af9dd7 100644 (file)
@@ -776,7 +776,7 @@ static inline void intel_pstate_sample(struct cpudata *cpu)
        local_irq_save(flags);
        rdmsrl(MSR_IA32_APERF, aperf);
        rdmsrl(MSR_IA32_MPERF, mperf);
-       tsc = native_read_tsc();
+       tsc = rdtsc();
        local_irq_restore(flags);
 
        cpu->last_sample_time = cpu->sample.time;