diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-09-01 23:14:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 23:46:06 -0700 |
commit | 81538e74ca12a71ea37ce72f809ebc65a90b9538 (patch) | |
tree | 5c390159ef7d0605f6b8e65fa0b77661af77ede1 /drivers/net/defxx.h | |
parent | 84177a20799072c65a69b62571660d4d9780823c (diff) | |
download | linux-81538e74ca12a71ea37ce72f809ebc65a90b9538.tar.bz2 |
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 'drivers/net/defxx.h')
0 files changed, 0 insertions, 0 deletions