aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2015-10-20 15:23:51 +0200
committerThomas Gleixner <[email protected]>2015-12-08 12:53:29 +0100
commitf0cb32207307e9d7b3ee8117078b7a37f8d0166e (patch)
tree1c9f4d3b4286147fc70b6221ac980e42a67713a9 /tools/perf/scripts/python/export-to-postgresql.py
parenta946e8c717f9355d1abd5408ed0adc0002d1aed1 (diff)
genirq: Implement irq_percpu_is_enabled()
Certain interrupt controller drivers have a register set that does not make it easy to save/restore the mask of enabled/disabled interrupts at suspend/resume time. At resume time, such drivers rely on the core kernel irq subsystem to tell whether such or such interrupt is enabled or not, in order to restore the proper state in the interrupt controller register. While the irqd_irq_disabled() provides the relevant information for global interrupts, there is no similar function to query the enabled/disabled state of a per-CPU interrupt. Therefore, this commit complements the percpu_irq API with an irq_percpu_is_enabled() function. [ tglx: Simplified the implementation and added kerneldoc ] Signed-off-by: Thomas Petazzoni <[email protected]> Cc: [email protected] Cc: Tawfik Bayouk <[email protected]> Cc: Nadav Haklai <[email protected]> Cc: Lior Amsalem <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Sebastian Hesselbarth <[email protected]> Cc: Gregory Clement <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Marc Zyngier <[email protected]> Link: http://lkml.kernel.org/r/1445347435-2333-2-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions