aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:17:25 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:17:25 -0700
commit64c4813d9ea0d646a0652bd9dcc5b40db6ddce69 (patch)
tree98658d9009182e79cb443cef67afbdc4bb3b8a48 /include
parentbabf68de5848f7e4b97c9c4a2d5e30598b825387 (diff)
parent664399e1fbdceb18da9c9c5534dedd62327c63e8 (diff)
downloadlinux-64c4813d9ea0d646a0652bd9dcc5b40db6ddce69.tar.gz
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/mach/irq.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/asm-arm/mach/irq.h b/include/asm-arm/mach/irq.h
index a43a353f6c7bd..0ce6ca588d8c0 100644
--- a/include/asm-arm/mach/irq.h
+++ b/include/asm-arm/mach/irq.h
@@ -42,11 +42,11 @@ struct irqchip {
/*
* Set the type of the IRQ.
*/
- int (*type)(unsigned int, unsigned int);
+ int (*set_type)(unsigned int, unsigned int);
/*
* Set wakeup-enable on the selected IRQ
*/
- int (*wake)(unsigned int, unsigned int);
+ int (*set_wake)(unsigned int, unsigned int);
#ifdef CONFIG_SMP
/*
@@ -92,6 +92,14 @@ struct irqdesc {
extern struct irqdesc irq_desc[];
/*
+ * Helpful inline function for calling irq descriptor handlers.
+ */
+static inline void desc_handle_irq(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs)
+{
+ desc->handle(irq, desc, regs);
+}
+
+/*
* This is internal. Do not use it.
*/
extern void (*init_arch_irq)(void);