Skip to contentSkip to conversation

One-liner to make S4 work

PATCH Pavel Machek 1 participant 1 message Dec 18, 2002

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

Hi!

This should make swsusp to work on 2.5.52...

Pavel

mm/page_alloc.c +1 -1
@@ -389,7 +389,7 @@
 	unsigned long flags;
 	struct page *page = NULL;
 
-	if (order == 0) {
+	if ((order == 0) && !cold) {
 		struct per_cpu_pages *pcp;
 
 		pcp = &zone->pageset[get_cpu()].pcp[cold];
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?