* Patch to gianfar.c for 2.6.33.2-rt13
@ 2010-04-23 21:57 Xianghua Xiao
0 siblings, 0 replies; only message in thread
From: Xianghua Xiao @ 2010-04-23 21:57 UTC (permalink / raw)
To: linux-kernel, Thomas Gleixner
Thomas,
I found another gianfar.c issue under rt kernel, here is a small patch:
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 453cfcf..5c85948 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1553,7 +1553,7 @@ void stop_gfar(struct net_device *dev)
/* Lock it down */
- local_irq_save(flags);
+ local_irq_save_nort(flags);
lock_tx_qs(priv);
lock_rx_qs(priv);
@@ -1561,7 +1561,7 @@ void stop_gfar(struct net_device *dev)
unlock_rx_qs(priv);
unlock_tx_qs(priv);
- local_irq_restore(flags);
+ local_irq_restore_nort(flags);
/* Free the IRQs */
if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MULTI_INTR) {
thanks,
xianghua
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-23 21:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 21:57 Patch to gianfar.c for 2.6.33.2-rt13 Xianghua Xiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®