Commit 62fad39be0662a924b60e4354b802525ceda0bb1
1 parent
2f3ed17e01
Exists in
master
and in
7 other branches
sh: Add a NR_IRQS_LEGACY for external IRQ0-7.
This adds a NR_IRQS_LEGACY definition, which will be used by sparse irq. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
arch/sh/include/asm/irq.h
... | ... | @@ -8,7 +8,8 @@ |
8 | 8 | * advised to cap this at the hard limit that they're interested in |
9 | 9 | * through the machvec. |
10 | 10 | */ |
11 | -#define NR_IRQS 256 | |
11 | +#define NR_IRQS 256 | |
12 | +#define NR_IRQS_LEGACY 8 /* Legacy external IRQ0-7 */ | |
12 | 13 | |
13 | 14 | /* |
14 | 15 | * Convert back and forth between INTEVT and IRQ values. |