Re: [RFC PATCH 18/24] arm: irq: do not assume NR_IRQS to be defined

2011-08-23 Thread Nicolas Pitre
On Tue, 23 Aug 2011, Venkatraman S wrote: > From: Venkatraman S > > If SPARSE_IRQ is defined, NR_IRQS will not necessarily be > relevant. Use the number populated in machine descriptor. > > Note: HARDIRQ_BITS is defined as a constant independent of NR_IRQS. > Needs review if this assumption mak

[RFC PATCH 18/24] arm: irq: do not assume NR_IRQS to be defined

2011-08-23 Thread Venkatraman S
From: Venkatraman S If SPARSE_IRQ is defined, NR_IRQS will not necessarily be relevant. Use the number populated in machine descriptor. Note: HARDIRQ_BITS is defined as a constant independent of NR_IRQS. Needs review if this assumption makes sense. Signed-off-by: Venkatraman S --- arch/arm/co