diff options
author | Len Brown <len.brown@intel.com> | 2012-09-26 18:11:31 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-09-26 18:11:31 -0400 |
commit | 1300651b40298ce60ee628b8f13f8c121706b06c (patch) | |
tree | d1cdf94fcb73294e77c1760bc1eb2968fced81dd /tools | |
parent | c46de2263f42fb4bbde411b9126f471e9343cb22 (diff) |
tools/power turbostat: run on IVB Xeon
This fix is required to run on IVB Xeon,
which previously had an incorrect cpuid model number listed.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 861d77190206..7108d8671c11 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c | |||
@@ -1038,7 +1038,7 @@ int has_nehalem_turbo_ratio_limit(unsigned int family, unsigned int model) | |||
1038 | case 0x2A: /* SNB */ | 1038 | case 0x2A: /* SNB */ |
1039 | case 0x2D: /* SNB Xeon */ | 1039 | case 0x2D: /* SNB Xeon */ |
1040 | case 0x3A: /* IVB */ | 1040 | case 0x3A: /* IVB */ |
1041 | case 0x3D: /* IVB Xeon */ | 1041 | case 0x3E: /* IVB Xeon */ |
1042 | return 1; | 1042 | return 1; |
1043 | case 0x2E: /* Nehalem-EX Xeon - Beckton */ | 1043 | case 0x2E: /* Nehalem-EX Xeon - Beckton */ |
1044 | case 0x2F: /* Westmere-EX Xeon - Eagleton */ | 1044 | case 0x2F: /* Westmere-EX Xeon - Eagleton */ |
@@ -1056,7 +1056,7 @@ int is_snb(unsigned int family, unsigned int model) | |||
1056 | case 0x2A: | 1056 | case 0x2A: |
1057 | case 0x2D: | 1057 | case 0x2D: |
1058 | case 0x3A: /* IVB */ | 1058 | case 0x3A: /* IVB */ |
1059 | case 0x3D: /* IVB Xeon */ | 1059 | case 0x3E: /* IVB Xeon */ |
1060 | return 1; | 1060 | return 1; |
1061 | } | 1061 | } |
1062 | return 0; | 1062 | return 0; |