summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lh7a40x/common.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-09-04 20:45:00 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-04 20:45:00 +0200
commit664399e1fbdceb18da9c9c5534dedd62327c63e8 (patch)
treeedcd0711c9dc15d1ca296b1bab0d85415781276e /arch/arm/mach-lh7a40x/common.h
parent[ARM] Change irq_chip wake/type methods to set_wake/set_type (diff)
downloadlinux-664399e1fbdceb18da9c9c5534dedd62327c63e8.tar.xz
linux-664399e1fbdceb18da9c9c5534dedd62327c63e8.zip
[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-lh7a40x/common.h')
-rw-r--r--arch/arm/mach-lh7a40x/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-lh7a40x/common.h b/arch/arm/mach-lh7a40x/common.h
index beda7c2602fb..578a52461fdb 100644
--- a/arch/arm/mach-lh7a40x/common.h
+++ b/arch/arm/mach-lh7a40x/common.h
@@ -13,4 +13,4 @@ extern struct sys_timer lh7a40x_timer;
extern void lh7a400_init_irq (void);
extern void lh7a404_init_irq (void);
-#define IRQ_DISPATCH(irq) irq_desc[irq].handle ((irq), &irq_desc[irq], regs)
+#define IRQ_DISPATCH(irq) desc_handle_irq((irq),(irq_desc + irq), regs)