Commit 0b4e43b0 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] support swsusp for aic7xxx

From: Pavel Machek <pavel@ucw.cz>

Marks threads as needed for suspend.
DESC
aic79xx_osm.c build fix
EDESC

drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_dv_thread':
drivers/scsi/aic7xxx/aic79xx_osm.c:2594: `PF_IOTHREAD' undeclared (first use in this function)
parent 7f9ddb3f
......@@ -2591,6 +2591,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;
#endif
unlock_kernel();
......
......@@ -2300,6 +2300,7 @@ ahc_linux_dv_thread(void *data)
sprintf(current->comm, "ahc_dv_%d", ahc->unit);
#else
daemonize("ahc_dv_%d", ahc->unit);
current->flags |= PF_FREEZE;
#endif
unlock_kernel();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment