diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-06-29 05:24:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:22 -0400 |
commit | 34ffdb7233d5847808d2b63ca6761dac3af9c942 (patch) | |
tree | 3eb73aae034729eac24f7f2ee809ba913b32a51b /kernel/irq/autoprobe.c | |
parent | 06fcb0c6fb3aae9570a32ac3b72a8222563baa69 (diff) |
[PATCH] genirq: cleanup: reduce irq_desc_t use, mark it obsolete
Cleanup: remove irq_desc_t use from the generic IRQ code, and mark it
obsolete.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c index d6eab98a3173..5c988bba401f 100644 --- a/kernel/irq/autoprobe.c +++ b/kernel/irq/autoprobe.c | |||
@@ -27,8 +27,8 @@ static DEFINE_MUTEX(probing_active); | |||
27 | */ | 27 | */ |
28 | unsigned long probe_irq_on(void) | 28 | unsigned long probe_irq_on(void) |
29 | { | 29 | { |
30 | struct irq_desc *desc; | ||
30 | unsigned long mask; | 31 | unsigned long mask; |
31 | irq_desc_t *desc; | ||
32 | unsigned int i; | 32 | unsigned int i; |
33 | 33 | ||
34 | mutex_lock(&probing_active); | 34 | mutex_lock(&probing_active); |
@@ -116,7 +116,7 @@ unsigned int probe_irq_mask(unsigned long val) | |||
116 | 116 | ||
117 | mask = 0; | 117 | mask = 0; |
118 | for (i = 0; i < NR_IRQS; i++) { | 118 | for (i = 0; i < NR_IRQS; i++) { |
119 | irq_desc_t *desc = irq_desc + i; | 119 | struct irq_desc *desc = irq_desc + i; |
120 | unsigned int status; | 120 | unsigned int status; |
121 | 121 | ||
122 | spin_lock_irq(&desc->lock); | 122 | spin_lock_irq(&desc->lock); |
@@ -159,7 +159,7 @@ int probe_irq_off(unsigned long val) | |||
159 | int i, irq_found = 0, nr_irqs = 0; | 159 | int i, irq_found = 0, nr_irqs = 0; |
160 | 160 | ||
161 | for (i = 0; i < NR_IRQS; i++) { | 161 | for (i = 0; i < NR_IRQS; i++) { |
162 | irq_desc_t *desc = irq_desc + i; | 162 | struct irq_desc *desc = irq_desc + i; |
163 | unsigned int status; | 163 | unsigned int status; |
164 | 164 | ||
165 | spin_lock_irq(&desc->lock); | 165 | spin_lock_irq(&desc->lock); |