projects/linux·commit 2c364faa

Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

2c364faa · Linus Torvalds <[email protected]> · 2012-01-06 14:00:44 -08:00

* 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, centaur: Enable cx8 for VIA Eden too
Commit
2c364faabb8ef400e4632bb989287bcd7c0a9148
Parents
cf3f3355 · cb3f718d

Merge commit. Changes below are compared with the first parent: cf3f3355.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
arch/x86/kernel/cpu/centaur.cmodified+1−1View file

arch/x86/kernel/cpu/centaur.c

View file
diff --git a/arch/x86/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c
index e58d978..159103c 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);