aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
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 54037533af7a..919d2dd0bb33 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -45,6 +45,7 @@ enum {
45 * IRQS_ONESHOT - irq is not unmasked in primary handler 45 * IRQS_ONESHOT - irq is not unmasked in primary handler
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 */ 49 */
49enum { 50enum {
50 IRQS_AUTODETECT = 0x00000001, 51 IRQS_AUTODETECT = 0x00000001,
@@ -54,6 +55,7 @@ enum {
54 IRQS_ONESHOT = 0x00000020, 55 IRQS_ONESHOT = 0x00000020,
55 IRQS_REPLAY = 0x00000040, 56 IRQS_REPLAY = 0x00000040,
56 IRQS_WAITING = 0x00000080, 57 IRQS_WAITING = 0x00000080,
58 IRQS_DISABLED = 0x00000100,
57}; 59};
58 60
59#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) 61#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)
@@ -137,7 +139,6 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
137 print_symbol("%s\n", (unsigned long)desc->action->handler); 139 print_symbol("%s\n", (unsigned long)desc->action->handler);
138 } 140 }
139 141
140 P(IRQ_DISABLED);
141 P(IRQ_PENDING); 142 P(IRQ_PENDING);
142 P(IRQ_LEVEL); 143 P(IRQ_LEVEL);
143 P(IRQ_MASKED); 144 P(IRQ_MASKED);
@@ -152,6 +153,7 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
152 PS(IRQS_INPROGRESS); 153 PS(IRQS_INPROGRESS);
153 PS(IRQS_REPLAY); 154 PS(IRQS_REPLAY);
154 PS(IRQS_WAITING); 155 PS(IRQS_WAITING);
156 PS(IRQS_DISABLED);
155} 157}
156 158
157#undef P 159#undef P