aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2017-08-18 10:53:45 +0100
committerThomas Gleixner <[email protected]>2017-08-18 12:04:14 +0200
commite8f241893dfbbebe2813c01eac54f263e6a5e59c (patch)
tree756b308ef749eb12bc0b6011d301f3d272ce0d62 /tools/perf/scripts/python/export-to-postgresql.py
parent7374bfb82e3844abcc5a5b8034620d80b92b820d (diff)
genirq: Restore trigger settings in irq_modify_status()
irq_modify_status starts by clearing the trigger settings from irq_data before applying the new settings, but doesn't restore them, leaving them to IRQ_TYPE_NONE. That's pretty confusing to the potential request_irq() that could follow. Instead, snapshot the settings before clearing them, and restore them if the irq_modify_status() invocation was not changing the trigger. Fixes: 1e2a7d78499e ("irqdomain: Don't set type when mapping an IRQ") Reported-and-tested-by: jeffy <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Jon Hunter <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions