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/spurious.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/spurious.c')
-rw-r--r-- | kernel/irq/spurious.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index 5eae7bf3c347..3a0a62123301 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -99,7 +99,8 @@ static int misrouted_irq(int irq, struct pt_regs *regs) | |||
99 | */ | 99 | */ |
100 | 100 | ||
101 | static void | 101 | static void |
102 | __report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | 102 | __report_bad_irq(unsigned int irq, struct irq_desc *desc, |
103 | irqreturn_t action_ret) | ||
103 | { | 104 | { |
104 | struct irqaction *action; | 105 | struct irqaction *action; |
105 | 106 | ||
@@ -124,7 +125,7 @@ __report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | |||
124 | } | 125 | } |
125 | 126 | ||
126 | static void | 127 | static void |
127 | report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | 128 | report_bad_irq(unsigned int irq, struct irq_desc *desc, irqreturn_t action_ret) |
128 | { | 129 | { |
129 | static int count = 100; | 130 | static int count = 100; |
130 | 131 | ||
@@ -134,8 +135,8 @@ report_bad_irq(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret) | |||
134 | } | 135 | } |
135 | } | 136 | } |
136 | 137 | ||
137 | void note_interrupt(unsigned int irq, irq_desc_t *desc, irqreturn_t action_ret, | 138 | void note_interrupt(unsigned int irq, struct irq_desc *desc, |
138 | struct pt_regs *regs) | 139 | irqreturn_t action_ret, struct pt_regs *regs) |
139 | { | 140 | { |
140 | if (unlikely(action_ret != IRQ_HANDLED)) { | 141 | if (unlikely(action_ret != IRQ_HANDLED)) { |
141 | desc->irqs_unhandled++; | 142 | desc->irqs_unhandled++; |