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/handle.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/handle.c')
-rw-r--r-- | kernel/irq/handle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index f9c33a86cbdf..8eda1005d10a 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -28,7 +28,7 @@ | |||
28 | * | 28 | * |
29 | * Controller mappings for all interrupt sources: | 29 | * Controller mappings for all interrupt sources: |
30 | */ | 30 | */ |
31 | irq_desc_t irq_desc[NR_IRQS] __cacheline_aligned = { | 31 | struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = { |
32 | [0 ... NR_IRQS-1] = { | 32 | [0 ... NR_IRQS-1] = { |
33 | .status = IRQ_DISABLED, | 33 | .status = IRQ_DISABLED, |
34 | .chip = &no_irq_type, | 34 | .chip = &no_irq_type, |
@@ -110,7 +110,7 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | |||
110 | */ | 110 | */ |
111 | fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) | 111 | fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs) |
112 | { | 112 | { |
113 | irq_desc_t *desc = irq_desc + irq; | 113 | struct irq_desc *desc = irq_desc + irq; |
114 | struct irqaction *action; | 114 | struct irqaction *action; |
115 | unsigned int status; | 115 | unsigned int status; |
116 | 116 | ||