diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:50:00 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:07 +0200 |
commit | d60458b224d6b997a582a05cb8c4b9bed9e17a1d (patch) | |
tree | 122710312c443069cb8e25a27032f09572550c45 /include/linux/irq.h | |
parent | 5aeecaf4908499b1fd006d313ccbacde6a6bac43 (diff) | |
download | blackbird-op-linux-d60458b224d6b997a582a05cb8c4b9bed9e17a1d.tar.gz blackbird-op-linux-d60458b224d6b997a582a05cb8c4b9bed9e17a1d.zip |
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/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 { const char *name; } ____cacheline_internodealigned_in_smp; +#ifdef CONFIG_HAVE_DYN_ARRAY +extern struct irq_desc *irq_desc; +#else extern struct irq_desc irq_desc[NR_IRQS]; +#endif /* * Migration helpers for obsolete names, they will go away: |