Commit 62fad39b authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2f3ed17e
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
* advised to cap this at the hard limit that they're interested in * advised to cap this at the hard limit that they're interested in
* 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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment