diff options
Diffstat (limited to 'arch/arm/include/asm/hardirq.h')
-rw-r--r-- | arch/arm/include/asm/hardirq.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 { | |||
12 | 12 | ||
13 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | 13 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
14 | 14 | ||
15 | #if NR_IRQS > 256 | 15 | #if NR_IRQS > 512 |
16 | #define HARDIRQ_BITS 10 | ||
17 | #elif NR_IRQS > 256 | ||
16 | #define HARDIRQ_BITS 9 | 18 | #define HARDIRQ_BITS 9 |
17 | #else | 19 | #else |
18 | #define HARDIRQ_BITS 8 | 20 | #define HARDIRQ_BITS 8 |