diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-08 06:17:57 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:17 -0500 |
commit | 2a0d6fb335d4428285dab2d254911748e6040807 (patch) | |
tree | 16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/autoprobe.c | |
parent | c1594b77e46124bb462f961e536120e471c67446 (diff) |
genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/autoprobe.c')
-rw-r--r-- | kernel/irq/autoprobe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c index 9ea8bb99f7c1..aab64c262726 100644 --- a/kernel/irq/autoprobe.c +++ b/kernel/irq/autoprobe.c | |||
@@ -76,8 +76,10 @@ unsigned long probe_irq_on(void) | |||
76 | raw_spin_lock_irq(&desc->lock); | 76 | raw_spin_lock_irq(&desc->lock); |
77 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) { | 77 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) { |
78 | desc->istate |= IRQS_AUTODETECT | IRQS_WAITING; | 78 | desc->istate |= IRQS_AUTODETECT | IRQS_WAITING; |
79 | if (irq_startup(desc)) | 79 | if (irq_startup(desc)) { |
80 | desc->status |= IRQ_PENDING; | 80 | irq_compat_set_pending(desc); |
81 | desc->istate |= IRQS_PENDING; | ||
82 | } | ||
81 | } | 83 | } |
82 | raw_spin_unlock_irq(&desc->lock); | 84 | raw_spin_unlock_irq(&desc->lock); |
83 | } | 85 | } |