patch-2.1.34 linux/drivers/scsi/atari_NCR5380.c

Next file: linux/drivers/scsi/atari_scsi.c
Previous file: linux/drivers/scsi/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/drivers/scsi/atari_NCR5380.c linux/drivers/scsi/atari_NCR5380.c
@@ -1026,7 +1026,7 @@
      * If we're not in an interrupt, we can call NCR5380_main()
      * unconditionally, because it cannot be already running.
      */
-    if (intr_count > 0 || ((flags >> 8) & 7) >= 6)
+    if (in_interrupt() || ((flags >> 8) & 7) >= 6)
 	queue_main();
     else
 	NCR5380_main();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov