linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / i386 / power / cpu.c
index 5a1abef..50a0bef 100644 (file)
@@ -7,10 +7,9 @@
  * Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/suspend.h>
-#include <asm/mtrr.h>
-#include <asm/mce.h>
 
 static struct saved_context saved_context;
 
@@ -93,7 +92,7 @@ void __restore_processor_state(struct saved_context *ctxt)
        write_cr4(ctxt->cr4);
        write_cr3(ctxt->cr3);
        write_cr2(ctxt->cr2);
-       write_cr0(ctxt->cr0);
+       write_cr2(ctxt->cr0);
 
        /*
         * now restore the descriptor tables to their proper values