These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / tools / power / cpupower / debug / kernel / cpufreq-test_tsc.c
index 5224ee5..6ff8383 100644 (file)
@@ -81,11 +81,11 @@ static int __init cpufreq_test_tsc(void)
 
        printk(KERN_DEBUG "start--> \n");
        then = read_pmtmr();
-        rdtscll(then_tsc);
+       then_tsc = rdtsc();
        for (i=0;i<20;i++) {
                mdelay(100);
                now = read_pmtmr();
-               rdtscll(now_tsc);
+               now_tsc = rdtsc();
                diff = (now - then) & 0xFFFFFF;
                diff_tsc = now_tsc - then_tsc;
                printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_tsc);