projects/linux·commit e4f0ae0e

[PATCH] fix typo in geode_configre()@cyrix.c

e4f0ae0e · takada <[email protected]> · 2007-01-10 23:15:44 -08:00

We write back the wrong register when configuring the Geode processor.
Instead of storing to CCR4, it stores to CCR3.

Cc: Jordan Crouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
e4f0ae0ea63caceff37a13f281a72652b7ea71ba
Parents
56fb5fe9

Changes

1 files changed · +1 −1

FileStatusAddDelContent
arch/i386/kernel/cpu/cyrix.cmodified+1−1View file

arch/i386/kernel/cpu/cyrix.c

View file
diff --git a/arch/i386/kernel/cpu/cyrix.c b/arch/i386/kernel/cpu/cyrix.c
index c0c3b59..abcff92 100644
--- a/arch/i386/kernel/cpu/cyrix.c
+++ b/arch/i386/kernel/cpu/cyrix.c
@@ -173,7 +173,7 @@ static void __cpuinit geode_configure(void)
ccr4 = getCx86(CX86_CCR4);
ccr4 |= 0x38; /* FPU fast, DTE cache, Mem bypass */
- setCx86(CX86_CCR3, ccr3);
+ setCx86(CX86_CCR4, ccr4);
set_cx86_memwb();
set_cx86_reorder();