patch-2.2.11 linux/drivers/scsi/eata_dma.c
Next file: linux/drivers/scsi/gdth_proc.c
Previous file: linux/drivers/scsi/eata.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Aug 9 12:04:40 1999
- Orig file:
v2.2.10/linux/drivers/scsi/eata_dma.c
- Orig date:
Tue Dec 29 11:35:48 1998
diff -u --recursive --new-file v2.2.10/linux/drivers/scsi/eata_dma.c linux/drivers/scsi/eata_dma.c
@@ -31,6 +31,10 @@
* mike@i-Connect.Net *
* neuffer@mail.uni-mainz.de *
* *
+ *
+ * Changes:
+ * Marcelo Tosatti, Jul/8/99 : SMP fixes
+ *
* This program is free software; you can redistribute it *
* and/or modify it under the terms of the GNU General *
* Public License as published by the Free Software *
@@ -777,7 +781,10 @@
x, sp->pid);
DBG(DBG_ABNORM && DBG_DELAY, DELAY(1));
+
+ spin_lock_irqsave(&io_request_lock, flags);
sp->scsi_done(sp);
+ spin_unlock_irqrestore(&io_request_lock, flags);
}
HD(cmd)->state = FALSE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)