--- zzzz-none-000/linux-2.4.17/include/asm-mips/irq.h 2001-09-09 17:43:01.000000000 +0000 +++ sangam-fb-401/linux-2.4.17/include/asm-mips/irq.h 2004-07-09 15:05:46.000000000 +0000 @@ -11,7 +11,13 @@ #include -#define NR_IRQS 64 /* Largest number of ints of all machines. */ +#if CONFIG_MIPS_AVALANCHE_SOC +#include +#define NR_IRQS AVALANCHE_INT_END+1 /* Largest number of ints of all machines. */ +#else + +#define NR_IRQS 128 /* Largest number of ints of all machines. */ +#endif /* CONFIG_MIPS_AVALANCHE_SOC */ #define TIMER_IRQ 0