Skip to contentSkip to conversation

swsusp: properly freeze aic79xx thread

PATCH New Pavel Machek 1 participant 1 message May 27, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swsusp: properly freeze aic79xx thread

Fix typo in aic79xx. It wants it thread not to be frozen, but does something stupid instead.

From: Shaohua Li <[email protected]>

---
commit a871d561998e6791fedb82205884162b2ce69a82 tree f5757852180a2f04f086a68a6b9cb576ea7f70d9 parent 14d95e1b10972d8b5e86daa6845aeb32a1292b60 author <pavel@amd.(none)> Thu, 26 May 2005 11:40:26 +0200 committer <pavel@amd.(none)> Thu, 26 May 2005 11:40:26 +0200

 drivers/scsi/aic7xxx/aic79xx_osm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/aic7xxx/aic79xx_osm.c (mode:100644) +1 -1
Index: drivers/scsi/aic7xxx/aic79xx_osm.c
===================================================================
@@ -2488,7 +2488,7 @@
 	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();