aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-06-29 05:24:40 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 13:26:22 -0400
commit34ffdb7233d5847808d2b63ca6761dac3af9c942 (patch)
tree3eb73aae034729eac24f7f2ee809ba913b32a51b /kernel/irq/manage.c
parent06fcb0c6fb3aae9570a32ac3b72a8222563baa69 (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/manage.c')
-rw-r--r--kernel/irq/manage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 261906ebdf04..6a6f1d3dd399 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -57,7 +57,7 @@ EXPORT_SYMBOL(synchronize_irq);
57 */ 57 */
58void disable_irq_nosync(unsigned int irq) 58void disable_irq_nosync(unsigned int irq)
59{ 59{
60 irq_desc_t *desc = irq_desc + irq; 60 struct irq_desc *desc = irq_desc + irq;
61 unsigned long flags; 61 unsigned long flags;
62 62
63 if (irq >= NR_IRQS) 63 if (irq >= NR_IRQS)
@@ -86,7 +86,7 @@ EXPORT_SYMBOL(disable_irq_nosync);
86 */ 86 */
87void disable_irq(unsigned int irq) 87void disable_irq(unsigned int irq)
88{ 88{
89 irq_desc_t *desc = irq_desc + irq; 89 struct irq_desc *desc = irq_desc + irq;
90 90
91 if (irq >= NR_IRQS) 91 if (irq >= NR_IRQS)
92 return; 92 return;
@@ -109,7 +109,7 @@ EXPORT_SYMBOL(disable_irq);
109 */ 109 */
110void enable_irq(unsigned int irq) 110void enable_irq(unsigned int irq)
111{ 111{
112 irq_desc_t *desc = irq_desc + irq; 112 struct irq_desc *desc = irq_desc + irq;
113 unsigned long flags; 113 unsigned long flags;
114 114
115 if (irq >= NR_IRQS) 115 if (irq >= NR_IRQS)