Skip to contentSkip to conversation

swsusp simple typo

PATCH In review Paul Andreassen 2 participants 2 messages Jun 14, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swsusp simple typo

No sure how this ever worked.

Please CC me because I'm not subscribed.

Paul

--- linux-source-2.6.15.7-ubuntu1/arch/i386/power/cpu.c.old 2006-03-03
07:18:35.000000000 +1000
+++ linux-source-2.6.15.7-ubuntu1/arch/i386/power/cpu.c 2006-06-15 00:32:11.022610552 +1000
@@ -92,7 +92,7 @@

        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

#1 lore raw
Quoted 2 lines · Paul Andreassen

No sure how this ever worked.

Already fixed in the current tree (and there was some discussion about how it didn't actually matter, because those control registers are rewritten later, but it was definitely a bug).

Linus