From mboxrd@z Thu Jan 1 00:00:00 1970 From: magnus.damm@gmail.com (Magnus Damm) Date: Fri, 30 Apr 2010 13:02:04 +0900 Subject: [PATCH] ARM: Add support for 10 hardirq bits In-Reply-To: <20100310111749.18521.9002.sendpatchset@t400s> References: <20100310111749.18521.9002.sendpatchset@t400s> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 10, 2010 at 8:17 PM, Magnus Damm wrote: > From: Magnus Damm > > This patch adds support for 10 hardirq bits to > the ARM architecture. Needed by the SH-Mobile > ARM processor sh7372 that has more than 512 IRQs. > > Signed-off-by: Magnus Damm > --- > > ?arch/arm/include/asm/hardirq.h | ? ?4 +++- > ?1 file changed, 3 insertions(+), 1 deletion(-) > > --- 0001/arch/arm/include/asm/hardirq.h > +++ work/arch/arm/include/asm/hardirq.h 2010-03-09 21:08:10.000000000 +0900 > @@ -12,7 +12,9 @@ typedef struct { > > ?#include /* Standard mappings for irq_cpustat_t above */ > > -#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 > Hi Russell, Good to hear that you are back online. Do you want me to rework this patch somehow, or is it ready to be queued for upstream merge? I'm asking because I have a pile of patches that depend on this one. Cheers, / magnus