"Richard B. Johnson" wrote:
> --- linux-2.2.17/drivers/scsi/BusLogic.h.orig Thu Oct 12 11:22:44 2000
> +++ linux-2.2.17/drivers/scsi/BusLogic.h Thu Oct 12 11:47:07 2000
> @@ -1509,6 +1509,7 @@
> void BusLogic_AcquireHostAdapterLock(BusLogic_HostAdapter_T *HostAdapter,
> ProcessorFlags_T *ProcessorFlags)
> {
> + spin_lock_irqsave(&BusLogic_lock, *ProcessorFlags);
> }
>
>
> @@ -1520,6 +1521,7 @@
> void BusLogic_ReleaseHostAdapterLock(BusLogic_HostAdapter_T *HostAdapter,
> ProcessorFlags_T *ProcessorFlags)
> {
> + spin_unlock_irqrestore(&BusLogic_lock, *ProcessorFlags);
> }
Don't pass processor flags on the stack...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/