lkml.org 
[lkml]   [2000]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: BIG problem with BusLogic SCSI and/or something else
    "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 majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:41    [W:0.023 / U:2.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site