diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-04 14:45:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-04 14:45:00 -0400 |
commit | 664399e1fbdceb18da9c9c5534dedd62327c63e8 (patch) | |
tree | edcd0711c9dc15d1ca296b1bab0d85415781276e /arch/arm/mach-ixp2000/core.c | |
parent | 7801907b8c4a49f8ec033d13a938751114a97a55 (diff) |
[ARM] Wrap calls to descriptor handlers
This is part of Thomas Gleixner's generic IRQ patch, which converts
ARM to use the generic IRQ subsystem. Here, we wrap calls to
desc->handler() in an inline function, desc_handle_irq(). This
reduces the size of Thomas' patch since the changes become more
localised.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp2000/core.c')
-rw-r--r-- | arch/arm/mach-ixp2000/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index 594b4c4d5b11..781d10ae00b7 100644 --- a/arch/arm/mach-ixp2000/core.c +++ b/arch/arm/mach-ixp2000/core.c | |||
@@ -317,7 +317,7 @@ static void ixp2000_GPIO_irq_handler(unsigned int irq, struct irqdesc *desc, str | |||
317 | for (i = 0; i <= 7; i++) { | 317 | for (i = 0; i <= 7; i++) { |
318 | if (status & (1<<i)) { | 318 | if (status & (1<<i)) { |
319 | desc = irq_desc + i + IRQ_IXP2000_GPIO0; | 319 | desc = irq_desc + i + IRQ_IXP2000_GPIO0; |
320 | desc->handle(i + IRQ_IXP2000_GPIO0, desc, regs); | 320 | desc_handle_irq(i + IRQ_IXP2000_GPIO0, desc, regs); |
321 | } | 321 | } |
322 | } | 322 | } |
323 | } | 323 | } |