lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Fix suspend with pccardd running
From
Date
On Wed, 2003-05-28 at 23:27, Pavel Machek wrote:
> 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;
> }

This fixes the pccard-becomes-a-CPU-hog for me when resuming after
suspending (S3) using 2.5.70-mm1 and ACPI. Nice work!

-
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.024 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site