summaryrefslogtreecommitdiff
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2006-12-05 04:39:16 +0300
committerDave Jones <davej@redhat.com>2006-12-13 01:29:04 +0300
commite11952b971ee729a8fdc2bfb1252f5760c0287b0 (patch)
tree38ef26ec277daebf98af6abf64b5c32b28a4d32c /include/asm-x86_64
parent7531a0b56f6211a5407c8cda4968c3b7ca9496ab (diff)
downloadlinux-e11952b971ee729a8fdc2bfb1252f5760c0287b0.tar.xz
[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>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/msr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/msr.h b/include/asm-x86_64/msr.h
index e61582288737..207fed998a0b 100644
--- a/include/asm-x86_64/msr.h
+++ b/include/asm-x86_64/msr.h
@@ -189,6 +189,7 @@ static inline unsigned int cpuid_edx(unsigned int op)
#define MSR_IA32_PERFCTR0 0xc1
#define MSR_IA32_PERFCTR1 0xc2
+#define MSR_FSB_FREQ 0xcd
#define MSR_MTRRcap 0x0fe
#define MSR_IA32_BBL_CR_CTL 0x119