patch-2.3.1 linux/drivers/scsi/scsi_error.c
Next file: linux/drivers/scsi/scsi_ioctl.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue May 11 14:37:40 1999
- Orig file:
v2.3.0/linux/drivers/scsi/scsi_error.c
- Orig date:
Wed Feb 24 16:27:54 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/scsi/scsi_error.c linux/drivers/scsi/scsi_error.c
@@ -560,7 +560,7 @@
void scsi_sleep (int timeout)
{
- struct semaphore sem = MUTEX_LOCKED;
+ DECLARE_MUTEX_LOCKED(sem);
struct timer_list timer;
init_timer(&timer);
@@ -603,7 +603,7 @@
if (host->can_queue)
{
- struct semaphore sem = MUTEX_LOCKED;
+ DECLARE_MUTEX_LOCKED(sem);
SCpnt->eh_state = SCSI_STATE_QUEUED;
@@ -1924,7 +1924,7 @@
{
struct Scsi_Host * host = (struct Scsi_Host *) data;
int rtn;
- struct semaphore sem = MUTEX_LOCKED;
+ DECLARE_MUTEX_LOCKED(sem);
unsigned long flags;
lock_kernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)