diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 1d73d1abb834..5f4b013624dc 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -179,7 +179,11 @@ struct irq_desc { | |||
179 | const char *name; | 179 | const char *name; |
180 | } ____cacheline_internodealigned_in_smp; | 180 | } ____cacheline_internodealigned_in_smp; |
181 | 181 | ||
182 | #ifdef CONFIG_HAVE_DYN_ARRAY | ||
183 | extern struct irq_desc *irq_desc; | ||
184 | #else | ||
182 | extern struct irq_desc irq_desc[NR_IRQS]; | 185 | extern struct irq_desc irq_desc[NR_IRQS]; |
186 | #endif | ||
183 | 187 | ||
184 | /* | 188 | /* |
185 | * Migration helpers for obsolete names, they will go away: | 189 | * Migration helpers for obsolete names, they will go away: |