diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-01-26 16:29:19 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-24 14:02:42 +0100 |
commit | c12d2f42a96d72cffa4d9335ca455a2243333c79 (patch) | |
tree | 9ffffd9cac1dc7cac0f0ebe63c80e48ead4a9df8 /kernel/irq/irqdomain.c | |
parent | d3dcb436f61593843af178d4a520c8c43c04d3fc (diff) |
irqdomain: Include hwirq number in /proc/interrupts
Add the hardware interrupt number to the output of /proc/interrupts.
It is often important to have access to the hardware interrupt number because
it identifies exactly how an interrupt signal is wired up to the interrupt
controller. This is especially important when using irq_domains since irq
numbers get dynamically allocated in that case, and have no relation to the
actual hardware number.
Note: This output is currently conditional on whether or not the irq_domain
pointer is set; however hwirq could still be used without irq_domain. It
may be worthwhile to always output the hwirq number regardless of the
domain pointer.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Olof Johansson <olof@lixom.net>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/irqdomain.c')
0 files changed, 0 insertions, 0 deletions