aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:50:00 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:07 -0400
commitd60458b224d6b997a582a05cb8c4b9bed9e17a1d (patch)
tree122710312c443069cb8e25a27032f09572550c45 /include/linux
parent5aeecaf4908499b1fd006d313ccbacde6a6bac43 (diff)
irq: make irq_desc to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/irq.h4
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
183extern struct irq_desc *irq_desc;
184#else
182extern struct irq_desc irq_desc[NR_IRQS]; 185extern 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: