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>
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
* through the machvec.
|
* through the machvec.
|
||||||
*/
|
*/
|
||||||
#define NR_IRQS 256
|
#define NR_IRQS 256
|
||||||
|
#define NR_IRQS_LEGACY 8 /* Legacy external IRQ0-7 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert back and forth between INTEVT and IRQ values.
|
* Convert back and forth between INTEVT and IRQ values.
|
||||||
|
Reference in New Issue
Block a user