Skip to content

Commit 27ada41

Browse files
Magnus DammRussell King
authored andcommitted
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 <[email protected]> Acked-by: Eric Miao <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 1944cc8 commit 27ada41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/include/asm/hardirq.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ typedef struct {
1212

1313
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
1414

15-
#if NR_IRQS > 256
15+
#if NR_IRQS > 512
16+
#define HARDIRQ_BITS 10
17+
#elif NR_IRQS > 256
1618
#define HARDIRQ_BITS 9
1719
#else
1820
#define HARDIRQ_BITS 8

0 commit comments

Comments
 (0)