mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* swsusp: fix highmem corruption in -rc3
@ 2004-10-01 11:28 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2004-10-01 11:28 UTC (permalink / raw)
  To: torvalds, Andrew Morton, Patrick Mochel, kernel list

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!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-01 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 11:28 swsusp: fix highmem corruption in -rc3 Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®