From: Pavel Machek Writing cr0 to cr2 register can't be right. This fixes the typo. I wonder how it could survive so long. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton --- arch/i386/power/cpu.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/power/cpu.c~swsusp-fix-typo-in-cr0-handling arch/i386/power/cpu.c --- devel/arch/i386/power/cpu.c~swsusp-fix-typo-in-cr0-handling 2006-05-12 11:30:53.000000000 -0700 +++ devel-akpm/arch/i386/power/cpu.c 2006-05-12 11:30:53.000000000 -0700 @@ -94,7 +94,7 @@ void __restore_processor_state(struct sa 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 _