Re: Fwd: Hard Lockup on 2.4.16 with Via ieee1394 (sbp2 mode)

From: Andrew Morton (akpm@zip.com.au)
Date: Fri Dec 28 2001 - 22:51:23 EST


Timothy Covell wrote:
>
> lockup
> ...
> sbp2
> ...
> SMP
> ...

--- linux-2.4.17-pre8/drivers/ieee1394/sbp2.c Mon Dec 10 13:46:20 2001
+++ linux-akpm/drivers/ieee1394/sbp2.c Wed Dec 12 20:50:16 2001
@@ -2773,7 +2773,9 @@ static void sbp2scsi_complete_command(st
         /*
          * Tell scsi stack that we're done with this command
          */
+ spin_lock_irq(&io_request_lock);
         done (SCpnt);
+ spin_unlock_irq(&io_request_lock);
 
         return;
 }

-
-
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/



This archive was generated by hypermail 2b29 : Mon Dec 31 2001 - 21:00:19 EST