[PATCH 2.5] sk_mca.c unlocking

From: Daniel Ritz (daniel.ritz@gmx.ch)
Date: Sat Jul 26 2003 - 14:46:19 EST


s/spin_lock_irqrestore/spin_unlock_irqrestore/

--- 1.13/drivers/net/sk_mca.c Sat Jul 26 02:15:35 2003
+++ edited/drivers/net/sk_mca.c Sat Jul 26 21:15:32 2003
@@ -280,7 +280,7 @@
 
         /* reenable interrupts */
 
- spin_lock_irqrestore(&priv->lock, flags);
+ spin_unlock_irqrestore(&priv->lock, flags);
 }
 
 /* get LANCE register */
@@ -319,7 +319,7 @@
 
         /* reenable interrupts */
 
- spin_lock_irqrestore(&priv->lock, flags);
+ spin_unlock_irqrestore(&priv->lock, flags);
 
         return res;
 }
@@ -993,7 +993,7 @@
         if (priv->txbusy == 0)
                 SetLANCE(dev, LANCE_CSR0, CSR0_INEA | CSR0_TDMD);
 
- spin_lock_irqrestore(&priv->lock, flags);
+ spin_unlock_irqrestore(&priv->lock, flags);
 
       tx_done:
 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST