[PATCH] genirq: add IRQ_TYPE_SENSE_MASK
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Jun 2006 09:25:00 +0000 (02:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Jun 2006 17:26:25 +0000 (10:26 -0700)
commitf210be198ddd3f54b17d4aa6e69b829f75f226e5
tree121990f1d6e970dc255ed78de90f495117b333e4
parent43f7775944e40221827e4b3aec43824aa4c4e4a9
[PATCH] genirq: add IRQ_TYPE_SENSE_MASK

Add a #define for the mask of the part of IRQ_TYPE that represents the
trigger type.  I use that in my in-progress work as I've standardized the
way the irq description in the firmware device-tree get translated to linux
useable things by using those constants.  Having this mask to isolate the
"trigger type" part of the flags is useful in a few places.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/irq.h