diff options
author | eric miao <eric.y.miao@gmail.com> | 2010-06-25 12:46:09 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-09 17:41:33 +0400 |
commit | 354e6f72d6fd5d3d2963efe030265972866cd969 (patch) | |
tree | 2ec7973825a42f4d15d233375c5db3b073658421 /arch/arm/include/asm/irq.h | |
parent | 309caa9cc6ff39d261264ec4ff10e29489afc8f8 (diff) | |
download | linux-354e6f72d6fd5d3d2963efe030265972866cd969.tar.xz |
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/irq.h')
-rw-r--r-- | arch/arm/include/asm/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h index 237282f7c762..2721a5814cb9 100644 --- a/arch/arm/include/asm/irq.h +++ b/arch/arm/include/asm/irq.h @@ -7,6 +7,8 @@ #define irq_canonicalize(i) (i) #endif +#define NR_IRQS_LEGACY 16 + /* * Use this value to indicate lack of interrupt * capability |