aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-21 06:54:34 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-21 15:19:59 -0500
commita61d825808a0ce9935afebc225dcd602d5339e14 (patch)
tree136d068ca3a58c9d6d3d28786a246c1204452c8c /kernel/irq
parenta439520f8b18917b322f576be04c54aba84bb044 (diff)
genirq: Fix misplaced status update in irq_disable()
We lazy disable interrupt lines, so only mark the line masked, when the chip provides an irq_disable callback. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 1d3e25e68b0c..b5145654855f 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -199,8 +199,8 @@ void irq_disable(struct irq_desc *desc)
199 irq_state_set_disabled(desc); 199 irq_state_set_disabled(desc);
200 if (desc->irq_data.chip->irq_disable) { 200 if (desc->irq_data.chip->irq_disable) {
201 desc->irq_data.chip->irq_disable(&desc->irq_data); 201 desc->irq_data.chip->irq_disable(&desc->irq_data);
202 irq_state_set_masked(desc);
202 } 203 }
203 irq_state_set_masked(desc);
204} 204}
205 205
206#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED 206#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED