Skip to content

Commit

Permalink
sh: Add a NR_IRQS_LEGACY for external IRQ0-7.
Browse files Browse the repository at this point in the history
This adds a NR_IRQS_LEGACY definition, which will be used by sparse irq.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 22, 2009
1 parent 2f3ed17 commit 62fad39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sh/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
* advised to cap this at the hard limit that they're interested in
* 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.
Expand Down

0 comments on commit 62fad39

Please sign in to comment.