pre-2.1.96-1 lockup in NCR53c8xx, patch

Keith Owens (kaos@ocs.com.au)
Mon, 13 Apr 1998 18:42:46 +1000


do_ncr53c8xx_intr gets io_request_lock and calls ncr53c8xx_intr which
also wants io_request_lock - watch that spin lock spin.

Index: linux/drivers/scsi/ncr53c8xx.c
--- linux/drivers/scsi/ncr53c8xx.c.orig Mon, 13 Apr 1998 12:10:02 +1000 keith (linux-2.1/t/27_ncr53c8xx. 1.5.2.7 644) 95.8
+++ linux/drivers/scsi/ncr53c8xx.c Mon, 13 Apr 1998 18:36:29 +1000 keith (linux-2.1/t/27_ncr53c8xx. 1.5.2.7 644) 95.8(w)
@@ -9805,9 +9805,7 @@
{
unsigned long flags;

- spin_lock_irqsave(&io_request_lock, flags);
ncr53c8xx_intr(irq, dev_id, regs);
- spin_unlock_irqrestore(&io_request_lock, flags);
}

#else

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu