diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-03 14:48:29 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:18 -0500 |
commit | 91c499178139d6597e68db19638e4135510a34b8 (patch) | |
tree | 9f2a58301e73178009d99e181d8de417659eda60 /include/linux/irqdesc.h | |
parent | 6d2cd17fde1fc3e93302815f049f255bb2b3123e (diff) |
genirq: Add state field to irq_data
Some chip implementations need to access certain status flags. With
sparse irqs that requires a lookup of the irq descriptor. Add a state
field which contains such flags.
Name it in a way which will make coders happy to access it with the
proper accessor functions. And it's easy to grep for.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irqdesc.h')
-rw-r--r-- | include/linux/irqdesc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index 782bf9851a9f..581d9665fd38 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h | |||
@@ -48,6 +48,7 @@ struct irq_desc { | |||
48 | struct { | 48 | struct { |
49 | unsigned int irq; | 49 | unsigned int irq; |
50 | unsigned int node; | 50 | unsigned int node; |
51 | unsigned int pad_do_not_even_think_about_it; | ||
51 | struct irq_chip *chip; | 52 | struct irq_chip *chip; |
52 | void *handler_data; | 53 | void *handler_data; |
53 | void *chip_data; | 54 | void *chip_data; |