diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-03 06:27:44 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:10 -0500 |
commit | 87923470c712dff00b101ffb6b6fbc27bd7a6df5 (patch) | |
tree | 35dc1a0adec4d00bbc872ce096c481cf0d69314a /kernel/irq/manage.c | |
parent | 4699923861513671d3f6ade8efb4e56a9a7ecadf (diff) |
genirq: Consolidate disable/enable
Create irq_disable/enable and use them to keep the flags consistent.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 9c562477e28b..007802399697 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -331,7 +331,7 @@ void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspend) | |||
331 | 331 | ||
332 | if (!desc->depth++) { | 332 | if (!desc->depth++) { |
333 | desc->status |= IRQ_DISABLED; | 333 | desc->status |= IRQ_DISABLED; |
334 | desc->irq_data.chip->irq_disable(&desc->irq_data); | 334 | irq_disable(desc); |
335 | } | 335 | } |
336 | } | 336 | } |
337 | 337 | ||