diff options
| author | Uwe Kleine-König <[email protected]> | 2009-09-01 23:14:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2009-09-02 23:46:06 -0700 |
| commit | 81538e74ca12a71ea37ce72f809ebc65a90b9538 (patch) | |
| tree | 5c390159ef7d0605f6b8e65fa0b77661af77ede1 /tools/perf/scripts/python | |
| parent | 84177a20799072c65a69b62571660d4d9780823c (diff) | |
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 <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Matt Waddel <[email protected]>
Cc: [email protected]
Cc: Tim Sander <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions