[CPUFREQ] p4-clockmod: fix support for Core
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 5 Dec 2006 01:39:16 +0000 (20:39 -0500)
committerDave Jones <davej@redhat.com>
Tue, 12 Dec 2006 22:29:04 +0000 (17:29 -0500)
commite11952b971ee729a8fdc2bfb1252f5760c0287b0
tree38ef26ec277daebf98af6abf64b5c32b28a4d32c
parent7531a0b56f6211a5407c8cda4968c3b7ca9496ab
[CPUFREQ] p4-clockmod: fix support for Core

Support for Core CPUs was broken in two ways in speedstep-lib: for x86_64,
we missed a MSR definition; for both x86_64 and i386, the FSB calculation
was wrong by four (it's a quad-pumped bus). Also increase the accuracy
of the calculation.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
include/asm-x86_64/msr.h