swsusp: fix highmem corruption in -rc3

From: Pavel Machek
Date: Fri Oct 01 2004 - 06:31:34 EST


Hi!

-rc3 swsusp breaks badly with highmem, because patch from -mm is
missing. Please apply this patch from -mm to vanilla.

Otherwise -rc3 swsusp seems to work here... Quite good result for so
big merge. Thanks. (But this certainly scared me a lot).
Pavel

--- clean/kernel/power/swsusp.c 2004-10-01 00:30:32.000000000 +0200
+++ clean-mm/kernel/power/swsusp.c 2004-09-26 01:34:27.000000000 +0200
@@ -856,7 +860,9 @@
local_irq_disable();
save_processor_state();
error = swsusp_arch_suspend();
+ /* Restore control flow magically appears here */
restore_processor_state();
+ restore_highmem();
local_irq_enable();
return error;
}
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/