genirq: irqchip: Add mask to block out invalid irqs
authorGrant Likely <grant.likely@linaro.org>
Wed, 29 May 2013 02:10:52 +0000 (03:10 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 29 May 2013 08:57:11 +0000 (10:57 +0200)
commite8bd834f73714378ef110a64287db1b77033c8da
tree344493bc19c638aca611e3b5c7e44e234288685a
parent088f40b7b027dad6519712ff224a5798dd62a204
genirq: irqchip: Add mask to block out invalid irqs

Some controllers have irqs that aren't wired up and must never be used.
For the generic chip attached to an irq_domain this provides a mask that
can be used to block out particular irqs so that they never get mapped.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Link: http://lkml.kernel.org/r/1369793454-19197-2-git-send-email-grant.likely@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/generic-chip.c