diff options
-rw-r--r-- | kernel/irq/handle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 710db0ec97e3..7f625fbc9aa4 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -111,12 +111,11 @@ static void init_kstat_irqs(struct irq_desc *desc, int nr_desc, int nr) | |||
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ||
114 | #ifdef CONFIG_HAVE_SPARSE_IRQ | ||
114 | /* | 115 | /* |
115 | * Protect the sparse_irqs_free freelist: | 116 | * Protect the sparse_irqs_free freelist: |
116 | */ | 117 | */ |
117 | static DEFINE_SPINLOCK(sparse_irq_lock); | 118 | static DEFINE_SPINLOCK(sparse_irq_lock); |
118 | |||
119 | #ifdef CONFIG_HAVE_SPARSE_IRQ | ||
120 | static struct irq_desc *sparse_irqs_free; | 119 | static struct irq_desc *sparse_irqs_free; |
121 | struct irq_desc *sparse_irqs; | 120 | struct irq_desc *sparse_irqs; |
122 | #endif | 121 | #endif |