diff options
author | Jarod Wilson <jwilson@fedoraproject.org> | 2009-03-06 20:24:57 +0000 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2009-05-26 12:04:50 -0400 |
commit | 4319503779060120fa5de9b8fde056603bb6e0fd (patch) | |
tree | d4e39fa9efd04be2aadb5eb30edb556759c8657d | |
parent | b18f1e21993f73f072b1e0859f942fb11afddcb1 (diff) | |
download | op-kernel-dev-4319503779060120fa5de9b8fde056603bb6e0fd.zip op-kernel-dev-4319503779060120fa5de9b8fde056603bb6e0fd.tar.gz |
[CPUFREQ] add atom family to p4-clockmod
Some atom procs don't do freq scaling (such as the atom 330 on my own
littlefalls2 board). By adding the atom family here, we at least get
the benefit of passive cooling in a thermal emergency. Not sure how
to see that its actually helping any, but the driver does bind and
claim its functioning on my atom 330.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/p4-clockmod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c b/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c index 6ac55bd..8696151 100644 --- a/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c +++ b/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c @@ -168,6 +168,7 @@ static unsigned int cpufreq_p4_get_frequency(struct cpuinfo_x86 *c) case 0x0E: /* Core */ case 0x0F: /* Core Duo */ case 0x16: /* Celeron Core */ + case 0x1C: /* Atom */ p4clockmod_driver.flags |= CPUFREQ_CONST_LOOPS; return speedstep_get_frequency(SPEEDSTEP_CPU_PCORE); case 0x0D: /* Pentium M (Dothan) */ |