Skip to contentSkip to conversation

swsusp: ahd_dv_0 can't be stopped

PATCH Applied Shaohua Li 2 participants 2 messages May 26, 2005

Subsystems (2)
lore
Share & tools
lore

Shaohua Li

author
#0 lore raw

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(-)
drivers/scsi/aic7xxx/aic79xx_osm.c renamed from drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv +1 -1
diff -puN drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv drivers/scsi/aic7xxx/aic79xx_osm.c
@@ -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();
 

_

Applied
#1 lore raw

Hi!

Quoted 2 lines

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

Applied, will push upstream soon.
Pavel

Quoted 17 lines
 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

drivers/scsi/aic7xxx/aic79xx_osm.c renamed from drivers/scsi/aic7xxx/aic79xx_osm.c~ahd_dv +1 -1
@@ -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();
 

_