diff options
author | John Mathew <johnx.mathew@intel.com> | 2011-05-17 16:52:06 +0300 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2011-05-16 19:17:07 -0400 |
commit | fee3cfe31b74dee2d5e6fc55f4b09b801aebbc35 (patch) | |
tree | 1c03b7202b17ab6b642a168d279f8024312596f4 | |
parent | cdd4c9bffce7cf5ab5ae760f19934ab16b1f0032 (diff) | |
download | powertop-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.cpp | 1 |
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 */ |