summaryrefslogtreecommitdiffstats
path: root/kernel/irq/autoprobe.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-06-29 02:24:51 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 10:26:24 -0700
commit6a6de9ef5850d063c3d3fb50784bfe3a6d0712c6 (patch)
treed09f1887fd8890c820559b931140afe4c68f2d7f /kernel/irq/autoprobe.c
parenta34db9b28a1c63317e1d6f1080a12d711579e7d0 (diff)
downloadop-kernel-dev-6a6de9ef5850d063c3d3fb50784bfe3a6d0712c6.zip
op-kernel-dev-6a6de9ef5850d063c3d3fb50784bfe3a6d0712c6.tar.gz
[PATCH] genirq: core
Core genirq support: add the irq-chip and irq-flow abstractions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/irq/autoprobe.c')
-rw-r--r--kernel/irq/autoprobe.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c
index ed98c7d..cfdb63e 100644
--- a/kernel/irq/autoprobe.c
+++ b/kernel/irq/autoprobe.c
@@ -40,8 +40,15 @@ unsigned long probe_irq_on(void)
desc = irq_desc + i;
spin_lock_irq(&desc->lock);
- if (!desc->action && !(desc->status & IRQ_NOPROBE))
+ if (!desc->action && !(desc->status & IRQ_NOPROBE)) {
+ /*
+ * Some chips need to know about probing in
+ * progress:
+ */
+ if (desc->chip->set_type)
+ desc->chip->set_type(i, IRQ_TYPE_PROBE);
desc->chip->startup(i);
+ }
spin_unlock_irq(&desc->lock);
}
OpenPOWER on IntegriCloud