diff options
author | Russell King <[email protected]> | 2015-06-16 23:06:20 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-06-18 14:03:08 +0200 |
commit | 3b0f95be143bea1aa47beb20134ef82e4e4068dc (patch) | |
tree | 730822397420dd40a9cf50d8b3bc26e829522ef5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6fd4899a54a522ccd6a24fea2318d3b515b95945 (diff) |
irq: Add irq_set_chained_handler_and_data()
Driver authors seem to get the ordering of irq_set_chained_handler()
and irq_set_handler_data() wrong - ordering the former before the
latter. This opens a race window where, if there is an interrupt
pending, the handler will be called between these two calls,
potentially resulting in an oops.
Provide a single interface to set both of these together, especially
as that's commonly what is required.
Signed-off-by: Russell King <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Hans Ulli Kroll <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions