lkml.org 
[lkml]   [2005]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subjectswsusp: ahd_dv_0 can't be stopped
    FromShaohua Li <>
    DateThu, 26 May 2005 15:00:35 +0800
    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();
     
    _
    
    -
    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-26 08:57    [from the cache]
    ©2003-2008