cpupower: mperf monitor: Correct use of ! and &
[cascardo/linux.git] / tools / power / cpupower / utils / idle_monitor / mperf_monitor.c
index 5650ab5..90a8c4f 100644 (file)
@@ -237,7 +237,7 @@ static int init_maxfreq_mode(void)
        unsigned long long hwcr;
        unsigned long min;
 
-       if (!cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC)
+       if (!(cpupower_cpu_info.caps & CPUPOWER_CAP_INV_TSC))
                goto use_sysfs;
 
        if (cpupower_cpu_info.vendor == X86_VENDOR_AMD) {