Eric Miao wrote: > -#if NR_IRQS > 256 > +#if NR_IRQS > 512 > +#define HARDIRQ_BITS 10 > +#elif NR_IRQS > 256 > #define HARDIRQ_BITS 9 > #else > #define HARDIRQ_BITS 8 Would not it be possible to use #define HARDIRQ_BITS order_base_2(NR_IRQS) to remove any limitation? -- Gilles.