/* @ioc: Pointer to MPT_ADAPTER structure @i: index into the array @scmd: scsi_cmnd pointer  */
static void mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd)
/* @ioc: Pointer to MPT_ADAPTER structure @i: index into the array @scmd: scsi_cmnd pointer  */
static void mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd)
{
	unsigned long	flags;
	spin_lock_irqsave(&ioc->scsi_lookup_lock, flags);
	ioc->ScsiLookup[i] = scmd;
	spin_unlock_irqrestore(&ioc->scsi_lookup_lock, flags);
}