Skip to content

Commit

Permalink
ARM: 6138/1: Add support for 10 hardirq bits
Browse files Browse the repository at this point in the history
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 <damm@opensource.se>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Magnus Damm authored and Russell King committed May 20, 2010
1 parent 1944cc8 commit 27ada41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/include/asm/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ typedef struct {

#include <linux/irq_cpustat.h> /* 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
Expand Down

0 comments on commit 27ada41

Please sign in to comment.