summaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-09-02 01:14:16 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-03 08:46:06 +0200
commit81538e74ca12a71ea37ce72f809ebc65a90b9538 (patch)
tree5c390159ef7d0605f6b8e65fa0b77661af77ede1 /net/atm
parentfec: fix recursive locking of mii_lock (diff)
downloadlinux-81538e74ca12a71ea37ce72f809ebc65a90b9538.tar.xz
linux-81538e74ca12a71ea37ce72f809ebc65a90b9538.zip
fec: don't enable irqs in hard irq context
fec_enet_mii, fec_enet_rx and fec_enet_tx are both only called by fec_enet_interrupt in interrupt context. So they must not use spin_lock_irq/spin_unlock_irq. This fixes: WARNING: at kernel/lockdep.c:2140 trace_hardirqs_on_caller+0x130/0x194() ... Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Greg Ungerer <gerg@uclinux.org> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Patrick McHardy <kaber@trash.net> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Matt Waddel <Matt.Waddel@freescale.com> Cc: netdev@vger.kernel.org Cc: Tim Sander <tim01@vlsi.informatik.tu-darmstadt.de> Acked-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions