aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-08 06:17:57 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:17 -0500
commit2a0d6fb335d4428285dab2d254911748e6040807 (patch)
tree16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/internals.h
parentc1594b77e46124bb462f961e536120e471c67446 (diff)
genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 919d2dd0bb33..fdf2524437eb 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -46,6 +46,7 @@ enum {
46 * IRQS_REPLAY - irq is replayed 46 * IRQS_REPLAY - irq is replayed
47 * IRQS_WAITING - irq is waiting 47 * IRQS_WAITING - irq is waiting
48 * IRQS_DISABLED - irq is disabled 48 * IRQS_DISABLED - irq is disabled
49 * IRQS_PENDING - irq is pending and replayed later
49 */ 50 */
50enum { 51enum {
51 IRQS_AUTODETECT = 0x00000001, 52 IRQS_AUTODETECT = 0x00000001,
@@ -56,6 +57,7 @@ enum {
56 IRQS_REPLAY = 0x00000040, 57 IRQS_REPLAY = 0x00000040,
57 IRQS_WAITING = 0x00000080, 58 IRQS_WAITING = 0x00000080,
58 IRQS_DISABLED = 0x00000100, 59 IRQS_DISABLED = 0x00000100,
60 IRQS_PENDING = 0x00000200,
59}; 61};
60 62
61#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) 63#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)
@@ -139,7 +141,6 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
139 print_symbol("%s\n", (unsigned long)desc->action->handler); 141 print_symbol("%s\n", (unsigned long)desc->action->handler);
140 } 142 }
141 143
142 P(IRQ_PENDING);
143 P(IRQ_LEVEL); 144 P(IRQ_LEVEL);
144 P(IRQ_MASKED); 145 P(IRQ_MASKED);
145#ifdef CONFIG_IRQ_PER_CPU 146#ifdef CONFIG_IRQ_PER_CPU
@@ -154,6 +155,7 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
154 PS(IRQS_REPLAY); 155 PS(IRQS_REPLAY);
155 PS(IRQS_WAITING); 156 PS(IRQS_WAITING);
156 PS(IRQS_DISABLED); 157 PS(IRQS_DISABLED);
158 PS(IRQS_PENDING);
157} 159}
158 160
159#undef P 161#undef P