summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mach/irq.h
diff options
context:
space:
mode:
authoreric miao <eric.y.miao@gmail.com>2010-06-25 09:46:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-09 14:41:33 +0100
commit354e6f72d6fd5d3d2963efe030265972866cd969 (patch)
tree2ec7973825a42f4d15d233375c5db3b073658421 /arch/arm/include/asm/mach/irq.h
parent309caa9cc6ff39d261264ec4ff10e29489afc8f8 (diff)
downloadlinux-354e6f72d6fd5d3d2963efe030265972866cd969.tar.gz
linux-354e6f72d6fd5d3d2963efe030265972866cd969.tar.bz2
linux-354e6f72d6fd5d3d2963efe030265972866cd969.zip
ARM: 6197/2: preliminary support for sparse IRQ
So to allow NR_IRQS to be dynamic and platforms to specify the number of IRQs really needed. Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/mach/irq.h')
-rw-r--r--arch/arm/include/asm/mach/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h
index 8920b2d6e3b8..ce3eee9fe26c 100644
--- a/arch/arm/include/asm/mach/irq.h
+++ b/arch/arm/include/asm/mach/irq.h
@@ -17,6 +17,7 @@ struct seq_file;
/*
* This is internal. Do not use it.
*/
+extern unsigned int arch_nr_irqs;
extern void (*init_arch_irq)(void);
extern void init_FIQ(void);
extern int show_fiq_list(struct seq_file *, void *);