diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-06-29 05:24:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:24 -0400 |
commit | 6a6de9ef5850d063c3d3fb50784bfe3a6d0712c6 (patch) | |
tree | d09f1887fd8890c820559b931140afe4c68f2d7f /kernel/irq/autoprobe.c | |
parent | a34db9b28a1c63317e1d6f1080a12d711579e7d0 (diff) |
[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.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c index ed98c7d46cf2..cfdb63eb5c94 100644 --- a/kernel/irq/autoprobe.c +++ b/kernel/irq/autoprobe.c | |||
@@ -40,8 +40,15 @@ unsigned long probe_irq_on(void) | |||
40 | desc = irq_desc + i; | 40 | desc = irq_desc + i; |
41 | 41 | ||
42 | spin_lock_irq(&desc->lock); | 42 | spin_lock_irq(&desc->lock); |
43 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) | 43 | if (!desc->action && !(desc->status & IRQ_NOPROBE)) { |
44 | /* | ||
45 | * Some chips need to know about probing in | ||
46 | * progress: | ||
47 | */ | ||
48 | if (desc->chip->set_type) | ||
49 | desc->chip->set_type(i, IRQ_TYPE_PROBE); | ||
44 | desc->chip->startup(i); | 50 | desc->chip->startup(i); |
51 | } | ||
45 | spin_unlock_irq(&desc->lock); | 52 | spin_unlock_irq(&desc->lock); |
46 | } | 53 | } |
47 | 54 | ||