Skip to contentSkip to conversation

swsusp: fix highmem corruption in -rc3

PATCH Pavel Machek 1 participant 1 message Oct 1, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

kernel/power/swsusp.c +2 -0
@@ -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;
 }
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!