diff options
Diffstat (limited to 'kernel/irq/irqdesc.c')
| -rw-r--r-- | kernel/irq/irqdesc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index 78ff426a6cb7..29963f99f24d 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c | |||
| @@ -39,7 +39,7 @@ EXPORT_SYMBOL_GPL(nr_irqs); | |||
| 39 | #ifdef CONFIG_SPARSE_IRQ | 39 | #ifdef CONFIG_SPARSE_IRQ |
| 40 | 40 | ||
| 41 | static struct irq_desc irq_desc_init = { | 41 | static struct irq_desc irq_desc_init = { |
| 42 | .status = IRQ_DISABLED, | 42 | .status = IRQ_DEFAULT_INIT_FLAGS, |
| 43 | .handle_irq = handle_bad_irq, | 43 | .handle_irq = handle_bad_irq, |
| 44 | .depth = 1, | 44 | .depth = 1, |
| 45 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc_init.lock), | 45 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc_init.lock), |
| @@ -113,7 +113,7 @@ void replace_irq_desc(unsigned int irq, struct irq_desc *desc) | |||
| 113 | 113 | ||
| 114 | static struct irq_desc irq_desc_legacy[NR_IRQS_LEGACY] __cacheline_aligned_in_smp = { | 114 | static struct irq_desc irq_desc_legacy[NR_IRQS_LEGACY] __cacheline_aligned_in_smp = { |
| 115 | [0 ... NR_IRQS_LEGACY-1] = { | 115 | [0 ... NR_IRQS_LEGACY-1] = { |
| 116 | .status = IRQ_DISABLED, | 116 | .status = IRQ_DEFAULT_INIT_FLAGS, |
| 117 | .handle_irq = handle_bad_irq, | 117 | .handle_irq = handle_bad_irq, |
| 118 | .depth = 1, | 118 | .depth = 1, |
| 119 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc_init.lock), | 119 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc_init.lock), |
| @@ -204,7 +204,7 @@ out_unlock: | |||
| 204 | 204 | ||
| 205 | struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { | 205 | struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { |
| 206 | [0 ... NR_IRQS-1] = { | 206 | [0 ... NR_IRQS-1] = { |
| 207 | .status = IRQ_DISABLED, | 207 | .status = IRQ_DEFAULT_INIT_FLAGS, |
| 208 | .handle_irq = handle_bad_irq, | 208 | .handle_irq = handle_bad_irq, |
| 209 | .depth = 1, | 209 | .depth = 1, |
| 210 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc->lock), | 210 | .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc->lock), |
