From: Magnus Damm Date: Wed, 19 May 2010 08:58:27 +0000 (+0100) Subject: ARM: 6138/1: Add support for 10 hardirq bits X-Git-Tag: v2.6.35-rc1~264^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27ada410c7a56e72fd8c5d304704fbf5cb685659;p=thirdparty%2Flinux.git ARM: 6138/1: Add support for 10 hardirq bits 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 Acked-by: Eric Miao Signed-off-by: Russell King --- diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h index 182310b991950..6d7485aff9558 100644 --- a/arch/arm/include/asm/hardirq.h +++ b/arch/arm/include/asm/hardirq.h @@ -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