aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r--kernel/irq/handle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 96ca203eb51b..8aa09547f5ef 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -117,8 +117,8 @@ static DEFINE_SPINLOCK(sparse_irq_lock);
117 117
118struct irq_desc *irq_desc_ptrs[NR_IRQS] __read_mostly; 118struct irq_desc *irq_desc_ptrs[NR_IRQS] __read_mostly;
119 119
120static struct irq_desc irq_desc_legacy[16] __cacheline_aligned_in_smp = { 120static struct irq_desc irq_desc_legacy[NR_IRQS_LEGACY] __cacheline_aligned_in_smp = {
121 [0 ... 15] = { 121 [0 ... NR_IRQS_LEGACY-1] = {
122 .irq = -1, 122 .irq = -1,
123 .status = IRQ_DISABLED, 123 .status = IRQ_DISABLED,
124 .chip = &no_irq_chip, 124 .chip = &no_irq_chip,
@@ -132,7 +132,7 @@ static struct irq_desc irq_desc_legacy[16] __cacheline_aligned_in_smp = {
132}; 132};
133 133
134/* FIXME: use bootmem alloc ...*/ 134/* FIXME: use bootmem alloc ...*/
135static unsigned int kstat_irqs_legacy[16][NR_CPUS]; 135static unsigned int kstat_irqs_legacy[NR_IRQS_LEGACY][NR_CPUS];
136 136
137void __init early_irq_init(void) 137void __init early_irq_init(void)
138{ 138{