aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorXianghua Xiao <xiaoxianghua@gmail.com>2010-04-23 17:57:52 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-04-27 11:30:01 -0400
commit510cc2234ac121f792d788f926d58f14ecc20e9a (patch)
tree60e3947237bd38e4c9ff9dd6a18ad0a02bee75f2 /drivers/net
parent923499cb1cf693b1f4e35711a34568864898876a (diff)
net: gianfar: More RT fixups
stop_gfar() needs the same fixup (local_irq_save/restore_nort()) as adjust_link(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/gianfar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 453cfcfd1471..5c8594891008 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1553,7 +1553,7 @@ void stop_gfar(struct net_device *dev)
1553 1553
1554 1554
1555 /* Lock it down */ 1555 /* Lock it down */
1556 local_irq_save(flags); 1556 local_irq_save_nort(flags);
1557 lock_tx_qs(priv); 1557 lock_tx_qs(priv);
1558 lock_rx_qs(priv); 1558 lock_rx_qs(priv);
1559 1559
@@ -1561,7 +1561,7 @@ void stop_gfar(struct net_device *dev)
1561 1561
1562 unlock_rx_qs(priv); 1562 unlock_rx_qs(priv);
1563 unlock_tx_qs(priv); 1563 unlock_tx_qs(priv);
1564 local_irq_restore(flags); 1564 local_irq_restore_nort(flags);
1565 1565
1566 /* Free the IRQs */ 1566 /* Free the IRQs */
1567 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MULTI_INTR) { 1567 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MULTI_INTR) {