patch-2.4.26 linux-2.4.26/drivers/net/ibm_emac/ibm_ocp_mal.c
Next file: linux-2.4.26/drivers/net/natsemi.c
Previous file: linux-2.4.26/drivers/net/ibm_emac/ibm_ocp_enet.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-04-14 06:05:30.000000000 -0700
- Orig file:
linux-2.4.25/drivers/net/ibm_emac/ibm_ocp_mal.c
- Orig date:
2003-11-28 10:26:20.000000000 -0800
diff -urN linux-2.4.25/drivers/net/ibm_emac/ibm_ocp_mal.c linux-2.4.26/drivers/net/ibm_emac/ibm_ocp_mal.c
@@ -62,7 +62,7 @@
/* Don't let multiple commacs claim the same channel */
if ( (mal->tx_chan_mask & commac->tx_chan_mask) ||
(mal->rx_chan_mask & commac->rx_chan_mask) ) {
- write_unlock(&mal_list_lock);
+ write_unlock_irqrestore(&mal_list_lock, flags);
return -EBUSY;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)