aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2012-04-11 22:10:54 +0000
committerDavid S. Miller <[email protected]>2012-04-13 13:41:52 -0400
commita8c9cb106fe79c28d6b7f1397652cadd228715ff (patch)
tree9e6e765d0b579bd84e680b544ad57ce15455e421 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent03662e41c7cff64a776bfb1b3816de4be43de881 (diff)
8139cp: set intr mask after its handler is registered
We set intr mask before its handler is registered, this does not work well when 8139cp is sharing irq line with other devices. As the irq could be enabled by the device before 8139cp's hander is registered which may lead unhandled irq. Fix this by introducing an helper cp_irq_enable() and call it after request_irq(). Signed-off-by: Jason Wang <[email protected]> Reviewed-by: Flavio Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions