2005-05-26 06:54:10

by Shaohua Li

[permalink] [raw]
Subject: swsusp: ahd_dv_0 can't be stopped

Hi,
I suppose the driver wants to set PF_NOFREEZE? Anyway, setting PF_FREEZE
isn't correct to me.

Thanks,
Shaohua
---

linux-2.6.11-rc5-mm1-root/drivers/scsi/aic7xxx/aic79xx_osm.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv drivers/scsi/aic7xxx/aic79xx_osm.c
--- linux-2.6.11-rc5-mm1/drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv 2005-05-26 14:42:41.191427928 +0800
+++ linux-2.6.11-rc5-mm1-root/drivers/scsi/aic7xxx/aic79xx_osm.c 2005-05-26 14:43:10.396988008 +0800
@@ -2488,7 +2488,7 @@ ahd_linux_dv_thread(void *data)
sprintf(current->comm, "ahd_dv_%d", ahd->unit);
#else
daemonize("ahd_dv_%d", ahd->unit);
- current->flags |= PF_FREEZE;
+ current->flags |= PF_NOFREEZE;
#endif
unlock_kernel();

_



2005-05-26 09:45:10

by Pavel Machek

[permalink] [raw]
Subject: Re: swsusp: ahd_dv_0 can't be stopped

Hi!

> I suppose the driver wants to set PF_NOFREEZE? Anyway, setting PF_FREEZE
> isn't correct to me.

Applied, will push upstream soon.
Pavel

> linux-2.6.11-rc5-mm1-root/drivers/scsi/aic7xxx/aic79xx_osm.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv drivers/scsi/aic7xxx/aic79xx_osm.c
> --- linux-2.6.11-rc5-mm1/drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv 2005-05-26 14:42:41.191427928 +0800
> +++ linux-2.6.11-rc5-mm1-root/drivers/scsi/aic7xxx/aic79xx_osm.c 2005-05-26 14:43:10.396988008 +0800
> @@ -2488,7 +2488,7 @@ ahd_linux_dv_thread(void *data)
> sprintf(current->comm, "ahd_dv_%d", ahd->unit);
> #else
> daemonize("ahd_dv_%d", ahd->unit);
> - current->flags |= PF_FREEZE;
> + current->flags |= PF_NOFREEZE;
> #endif
> unlock_kernel();
>
> _
>

--