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/