diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 36563f731ff8..54037533af7a 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -43,6 +43,8 @@ enum { | |||
43 | * IRQS_POLL_INPROGRESS - polling in progress | 43 | * IRQS_POLL_INPROGRESS - polling in progress |
44 | * IRQS_INPROGRESS - Interrupt in progress | 44 | * IRQS_INPROGRESS - Interrupt in progress |
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 | ||
47 | * IRQS_WAITING - irq is waiting | ||
46 | */ | 48 | */ |
47 | enum { | 49 | enum { |
48 | IRQS_AUTODETECT = 0x00000001, | 50 | IRQS_AUTODETECT = 0x00000001, |
@@ -50,6 +52,8 @@ enum { | |||
50 | IRQS_POLL_INPROGRESS = 0x00000008, | 52 | IRQS_POLL_INPROGRESS = 0x00000008, |
51 | IRQS_INPROGRESS = 0x00000010, | 53 | IRQS_INPROGRESS = 0x00000010, |
52 | IRQS_ONESHOT = 0x00000020, | 54 | IRQS_ONESHOT = 0x00000020, |
55 | IRQS_REPLAY = 0x00000040, | ||
56 | IRQS_WAITING = 0x00000080, | ||
53 | }; | 57 | }; |
54 | 58 | ||
55 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) | 59 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) |
@@ -135,8 +139,6 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) | |||
135 | 139 | ||
136 | P(IRQ_DISABLED); | 140 | P(IRQ_DISABLED); |
137 | P(IRQ_PENDING); | 141 | P(IRQ_PENDING); |
138 | P(IRQ_REPLAY); | ||
139 | P(IRQ_WAITING); | ||
140 | P(IRQ_LEVEL); | 142 | P(IRQ_LEVEL); |
141 | P(IRQ_MASKED); | 143 | P(IRQ_MASKED); |
142 | #ifdef CONFIG_IRQ_PER_CPU | 144 | #ifdef CONFIG_IRQ_PER_CPU |
@@ -148,6 +150,8 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) | |||
148 | 150 | ||
149 | PS(IRQS_AUTODETECT); | 151 | PS(IRQS_AUTODETECT); |
150 | PS(IRQS_INPROGRESS); | 152 | PS(IRQS_INPROGRESS); |
153 | PS(IRQS_REPLAY); | ||
154 | PS(IRQS_WAITING); | ||
151 | } | 155 | } |
152 | 156 | ||
153 | #undef P | 157 | #undef P |