cpupower: Fix broken mask values
Thomas Renninger [Wed, 8 Feb 2012 01:05:10 +0000 (02:05 +0100)]
Signed-off-by: Thomas Renninger <trenn@suse.de>
Tested-by: Dave Jones <davej@redhat.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

tools/power/cpupower/utils/helpers/helpers.h

index 6280daa..2eb584c 100644 (file)
@@ -66,8 +66,8 @@ enum cpupower_cpu_vendor {X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL,
 #define CPUPOWER_CAP_AMD_CBP           0x00000004
 #define CPUPOWER_CAP_PERF_BIAS         0x00000008
 #define CPUPOWER_CAP_HAS_TURBO_RATIO   0x00000010
-#define CPUPOWER_CAP_IS_SNB            0x00000011
-#define CPUPOWER_CAP_INTEL_IDA         0x00000012
+#define CPUPOWER_CAP_IS_SNB            0x00000020
+#define CPUPOWER_CAP_INTEL_IDA         0x00000040
 
 #define MAX_HW_PSTATES 10