diff options
author | Sebastian Frias <[email protected]> | 2016-08-01 16:27:38 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-09-02 18:06:49 +0200 |
commit | ee26c013cdee0b947e29d6cadfb9ff3341c69ff9 (patch) | |
tree | 10aaaa54fca3628ddfcad783261eafdb8b831302 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f0c450eaa364cb77c778f2a46ee2aa3ff464b332 (diff) |
genirq/generic_chip: Add irq_unmap callback
Without this patch irq_domain_disassociate() cannot properly release the
interrupt. In fact, irq_map_generic_chip() checks a bit on 'gc->installed'
but said bit is never cleared, only set.
Commit 088f40b7b027 ("genirq: Generic chip: Add linear irq domain support")
added irq_map_generic_chip() function and also stated "This lacks a removal
function for now".
This commit provides an implementation of an unmap function that can be
called by irq_domain_disassociate().
[ tglx: Made the function static and removed the export as we have neither
a prototype nor a modular user. ]
Fixes: 088f40b7b027 ("genirq: Generic chip: Add linear irq domain support")
Signed-off-by: Sebastian Frias <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Mason <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions