summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mtrr/cyrix.c
diff options
context:
space:
mode:
authorH. Peter Anvin2013-04-28 01:22:32 +0200
committerH. Peter Anvin2013-06-26 01:26:06 +0200
commita3d7b7dddcc38c19aa46509c7282e8def80384a8 (patch)
treee5bcae9c5ebc653dfc56d3d7257d1b27ec2df708 /arch/x86/kernel/cpu/mtrr/cyrix.c
parentx86, processor-flags: Fix the datatypes and add bit number defines (diff)
downloadkernel-qcow2-linux-a3d7b7dddcc38c19aa46509c7282e8def80384a8.tar.gz
kernel-qcow2-linux-a3d7b7dddcc38c19aa46509c7282e8def80384a8.tar.xz
kernel-qcow2-linux-a3d7b7dddcc38c19aa46509c7282e8def80384a8.zip
x86, asm, cleanup: Replace open-coded control register values with symbolic
Clean up an unnecessary open-coded control register values. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/n/tip-um7za1nzf6brb17o0h4om6e3@git.kernel.org
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/cyrix.c')
-rw-r--r--arch/x86/kernel/cpu/mtrr/cyrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/cyrix.c b/arch/x86/kernel/cpu/mtrr/cyrix.c
index 68a3343e5798..9e451b0876b5 100644
--- a/arch/x86/kernel/cpu/mtrr/cyrix.c
+++ b/arch/x86/kernel/cpu/mtrr/cyrix.c
@@ -167,7 +167,7 @@ static void post_set(void)
setCx86(CX86_CCR3, ccr3);
/* Enable caches */
- write_cr0(read_cr0() & 0xbfffffff);
+ write_cr0(read_cr0() & ~X86_CR0_CD);
/* Restore value of CR4 */
if (cpu_has_pge)