* One-liner to make S4 work
@ 2002-12-18 22:24 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2002-12-18 22:24 UTC (permalink / raw)
To: kernel list, Swsusp mailing list
Hi!
This should make swsusp to work on 2.5.52...
Pavel
--- clean/mm/page_alloc.c 2002-12-18 22:21:13.000000000 +0100
+++ linux-swsusp/mm/page_alloc.c 2002-12-18 22:30:47.000000000 +0100
@@ -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];
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-18 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 22:24 One-liner to make S4 work Pavel Machek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.