diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-06-29 05:24:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 13:26:22 -0400 |
commit | a8553acd6c14e827078779c0a0ee1c18f27b2403 (patch) | |
tree | 0dc7b8d52e7fd5c6fba90a9495cfbfa1d4e568e6 /arch/powerpc/kernel/crash.c | |
parent | a53da52fd743fd637637572838c0a7af23a2d038 (diff) |
[PATCH] genirq: cleanup: remove irq_descp()
Cleanup: remove irq_descp() - explicit use of irq_desc[] is shorter and more
readable.
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 'arch/powerpc/kernel/crash.c')
-rw-r--r-- | arch/powerpc/kernel/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index 1bfad7c2f8c8..22ceba844bf4 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c | |||
@@ -190,7 +190,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs) | |||
190 | local_irq_disable(); | 190 | local_irq_disable(); |
191 | 191 | ||
192 | for_each_irq(irq) { | 192 | for_each_irq(irq) { |
193 | struct irq_desc *desc = irq_descp(irq); | 193 | struct irq_desc *desc = irq_desc + irq; |
194 | 194 | ||
195 | if (desc->status & IRQ_INPROGRESS) | 195 | if (desc->status & IRQ_INPROGRESS) |
196 | desc->chip->end(irq); | 196 | desc->chip->end(irq); |