aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mathew <johnx.mathew@intel.com>2011-05-17 16:52:06 +0300
committerArjan van de Ven <arjan@linux.intel.com>2011-05-16 19:17:07 -0400
commitfee3cfe31b74dee2d5e6fc55f4b09b801aebbc35 (patch)
tree1c03b7202b17ab6b642a168d279f8024312596f4
parentcdd4c9bffce7cf5ab5ae760f19934ab16b1f0032 (diff)
downloadpowertop-fee3cfe31b74dee2d5e6fc55f4b09b801aebbc35.tar.gz
intel_cpu: Add Medfield processor as Intel cpu
Currently only NHM architecture cpu model numbers are checked to identify Intel cpus. This patch adds the Medfield model id to this list. Medfield is based on Atom architecture. In Atom architecture only the MSR_PKG_RESIDENCY registers need to be read and there is no MSR_CORE_RESIDENCY or MSR_CPU_RESIDENCY registers. So only a new nhm_package class needs to be created.
-rw-r--r--cpu/cpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/cpu.cpp b/cpu/cpu.cpp
index 2cc31ca..b901b87 100644
--- a/cpu/cpu.cpp
+++ b/cpu/cpu.cpp
@@ -68,6 +68,7 @@ static class abstract_cpu * new_package(int package, int cpu, char * vendor, int
case 0x2F: /* Westmere-EX Xeon */
case 0x25: /* Westmere */
case 0x2C: /* Westmere */
+ case 0x27: /* Medfield Atom*/
ret = new class nhm_package;
break;
case 0x2A: /* SNB */