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/ixdp2x00.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/ixdp2x00.c')
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2x00.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp2000/ixdp2x00.c b/arch/arm/mach-ixp2000/ixdp2x00.c index a43369ad876c..63ba0191aa65 100644 --- a/arch/arm/mach-ixp2000/ixdp2x00.c +++ b/arch/arm/mach-ixp2000/ixdp2x00.c | |||
@@ -133,7 +133,7 @@ static void ixdp2x00_irq_handler(unsigned int irq, struct irqdesc *desc, struct | |||
133 | struct irqdesc *cpld_desc; | 133 | struct irqdesc *cpld_desc; |
134 | int cpld_irq = IXP2000_BOARD_IRQ(0) + i; | 134 | int cpld_irq = IXP2000_BOARD_IRQ(0) + i; |
135 | cpld_desc = irq_desc + cpld_irq; | 135 | cpld_desc = irq_desc + cpld_irq; |
136 | cpld_desc->handle(cpld_irq, cpld_desc, regs); | 136 | desc_handle_irq(cpld_irq, cpld_desc, regs); |
137 | } | 137 | } |
138 | } | 138 | } |
139 | 139 | ||