x86: Clean up cr4 manipulation
[sfrench/cifs-2.6.git] / arch / x86 / kernel / cpu / mcheck / winchip.c
index bd5d46a32210a15deb8895c37e67e5e0dea9d7c5..44f138296fbebdf2a2e6ae25b5b9d94f112102ef 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <asm/processor.h>
 #include <asm/traps.h>
+#include <asm/tlbflush.h>
 #include <asm/mce.h>
 #include <asm/msr.h>
 
@@ -36,7 +37,7 @@ void winchip_mcheck_init(struct cpuinfo_x86 *c)
        lo &= ~(1<<4);  /* Enable MCE */
        wrmsr(MSR_IDT_FCR1, lo, hi);
 
-       set_in_cr4(X86_CR4_MCE);
+       cr4_set_bits(X86_CR4_MCE);
 
        printk(KERN_INFO
               "Winchip machine check reporting enabled on CPU#0.\n");