aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/autoprobe.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-09 08:44:17 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:21 -0500
commit1ccb4e612f68ceefb888c2c6c1def6294ea8666d (patch)
treef3cae56489a56ebc54e06871abdf63193dc5a4bb /kernel/irq/autoprobe.c
parent876dbd4cc1b35c1a4cb96a2be1d43ea0eabce3b4 (diff)
genirq: Wrap the remaning IRQ_* flags
Use wrappers to keep them away from the core code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/autoprobe.c')
-rw-r--r--kernel/irq/autoprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c
index aab64c262726..c8bbc4fabaab 100644
--- a/kernel/irq/autoprobe.c
+++ b/kernel/irq/autoprobe.c
@@ -45,7 +45,7 @@ unsigned long probe_irq_on(void)
45 */ 45 */
46 for_each_irq_desc_reverse(i, desc) { 46 for_each_irq_desc_reverse(i, desc) {
47 raw_spin_lock_irq(&desc->lock); 47 raw_spin_lock_irq(&desc->lock);
48 if (!desc->action && !(desc->status & IRQ_NOPROBE)) { 48 if (!desc->action && irq_settings_can_probe(desc)) {
49 /* 49 /*
50 * An old-style architecture might still have 50 * An old-style architecture might still have
51 * the handle_bad_irq handler there: 51 * the handle_bad_irq handler there:
@@ -74,7 +74,7 @@ unsigned long probe_irq_on(void)
74 */ 74 */
75 for_each_irq_desc_reverse(i, desc) { 75 for_each_irq_desc_reverse(i, desc) {
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 && irq_settings_can_probe(desc)) {
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 irq_compat_set_pending(desc); 80 irq_compat_set_pending(desc);