lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectFix suspend with pccardd running
Hi!

This fixes suspend when pccards are used... Please apply,

Pavel

--- /usr/src/tmp/linux/drivers/pcmcia/cs.c 2003-05-27 13:43:10.000000000 +0200
+++ /usr/src/linux/drivers/pcmcia/cs.c 2003-05-28 23:09:47.000000000 +0200
@@ -48,6 +48,7 @@
#include <linux/pm.h>
#include <linux/pci.h>
#include <linux/device.h>
+#include <linux/suspend.h>
#include <asm/system.h>
#include <asm/irq.h>

@@ -783,6 +784,9 @@
}

schedule();
+ if (current->flags & PF_FREEZE)
+ refrigerator(PF_IOTHREAD);
+
if (!skt->thread)
break;
}
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.035 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site