lkml.org 
[lkml]   [2005]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFT][PATCH] aic79xx: remove busyq
Date
On Sunday 29 May 2005 11:46, Jeff Garzik wrote:
> This changes the aic79xx driver to use the standard Linux SCSI queueing
> code, rather than its own. After applying this patch, NO behavior
> changes should be seen.
>
> The patch is against 2.6.12-rc5, but probably applies OK to recent 2.6.x
> kernels.

s/PF_FREEZE/PF_NOFREEZE/ to apply to recent ones.

> --- a/drivers/scsi/aic7xxx/aic79xx_osm.c
> +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c

> @@ -2478,18 +2045,10 @@ ahd_linux_dv_thread(void *data)
> * Complete thread creation.
> */
> lock_kernel();
> -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,60)
> - /*
> - * Don't care about any signals.
> - */
> - siginitsetinv(&current->blocked, 0);
>
> - daemonize();
> - sprintf(current->comm, "ahd_dv_%d", ahd->unit);
> -#else
> daemonize("ahd_dv_%d", ahd->unit);
> current->flags |= PF_FREEZE;
> -#endif
> +
> unlock_kernel();
>
> while (1) {
-
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-05-29 11:20    [W:2.011 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site