X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fi386%2Fpower%2Fcpu.c;h=e6517915fe3e19ebc1a74cc7c34ac6be9eb616b9;hb=a03a3e287b119c7bcbcff1d68f81864ce33b1ad2;hp=50a0bef8c85f691bc135167e595dc5b6521a8ec0;hpb=8006fdd6dc387abaa4b683bda4868c879fd76070;p=mv-sheeva.git diff --git a/arch/i386/power/cpu.c b/arch/i386/power/cpu.c index 50a0bef8c85..e6517915fe3 100644 --- a/arch/i386/power/cpu.c +++ b/arch/i386/power/cpu.c @@ -10,6 +10,8 @@ #include #include #include +#include +#include static struct saved_context saved_context; @@ -92,7 +94,7 @@ void __restore_processor_state(struct saved_context *ctxt) write_cr4(ctxt->cr4); write_cr3(ctxt->cr3); write_cr2(ctxt->cr2); - write_cr2(ctxt->cr0); + write_cr0(ctxt->cr0); /* * now restore the descriptor tables to their proper values