From 27ada410c7a56e72fd8c5d304704fbf5cb685659 Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Wed, 19 May 2010 09:58:27 +0100 Subject: 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 --- arch/arm/include/asm/hardirq.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/arm/include') diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h index 182310b99195..6d7485aff955 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 -- cgit v1.2.3-55-g7522