summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds2012-01-06 23:00:44 +0100
committerLinus Torvalds2012-01-06 23:00:44 +0100
commit2c364faabb8ef400e4632bb989287bcd7c0a9148 (patch)
tree4db7a369a6336800014904f4dd05f8eda36a0f6f /arch/x86
parentMerge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/k... (diff)
parentx86, centaur: Enable cx8 for VIA Eden too (diff)
downloadkernel-qcow2-linux-2c364faabb8ef400e4632bb989287bcd7c0a9148.tar.gz
kernel-qcow2-linux-2c364faabb8ef400e4632bb989287bcd7c0a9148.tar.xz
kernel-qcow2-linux-2c364faabb8ef400e4632bb989287bcd7c0a9148.zip
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86, centaur: Enable cx8 for VIA Eden too
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/centaur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c
index e58d978e0758..159103c0b1f4 100644
--- a/arch/x86/kernel/cpu/centaur.c
+++ b/arch/x86/kernel/cpu/centaur.c
@@ -278,7 +278,7 @@ static void __cpuinit init_c3(struct cpuinfo_x86 *c)
}
#ifdef CONFIG_X86_32
/* Cyrix III family needs CX8 & PGE explicitly enabled. */
- if (c->x86_model >= 6 && c->x86_model <= 9) {
+ if (c->x86_model >= 6 && c->x86_model <= 13) {
rdmsr(MSR_VIA_FCR, lo, hi);
lo |= (1<<1 | 1<<7);
wrmsr(MSR_VIA_FCR, lo, hi);