#include <asm/irq.h>
 #include <asm/ptrace.h>
 
+struct irq_desc;
+typedef        void fastcall (*irq_flow_handler_t)(unsigned int irq,
+                                           struct irq_desc *desc,
+                                           struct pt_regs *regs);
+
+
 /*
  * IRQ line status.
  *
  * Pad this out to 32 bytes for cache and indexing reasons.
  */
 struct irq_desc {
-       void fastcall           (*handle_irq)(unsigned int irq,
-                                             struct irq_desc *desc,
-                                             struct pt_regs *regs);
+       irq_flow_handler_t      handle_irq;
        struct irq_chip         *chip;
        void                    *handler_data;
        void                    *chip_data;
  * Get a descriptive string for the highlevel handler, for
  * /proc/interrupts output:
  */
-extern const char *
-handle_irq_name(void fastcall (*handle)(unsigned int, struct irq_desc *,
-                                       struct pt_regs *));
+extern const char *handle_irq_name(irq_flow_handler_t handle);
 
 /*
  * Monolithic do_IRQ implementation.
 
 extern void
 set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip,
-                        void fastcall (*handle)(unsigned int,
-                                                struct irq_desc *,
-                                                struct pt_regs *));
+                        irq_flow_handler_t handle);
 extern void
-__set_irq_handler(unsigned int irq,
-                 void fastcall (*handle)(unsigned int, struct irq_desc *,
-                                         struct pt_regs *),
-                 int is_chained);
+__set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained);
 
 /*
  * Set a highlevel flow handler for a given IRQ:
  */
 static inline void
-set_irq_handler(unsigned int irq,
-               void fastcall (*handle)(unsigned int, struct irq_desc *,
-                                       struct pt_regs *))
+set_irq_handler(unsigned int irq, irq_flow_handler_t handle)
 {
        __set_irq_handler(irq, handle, 0);
 }
  */
 static inline void
 set_irq_chained_handler(unsigned int irq,
-                       void fastcall (*handle)(unsigned int, struct irq_desc *,
-                                               struct pt_regs *))
+                       irq_flow_handler_t handle)
 {
        __set_irq_handler(irq, handle, 1);
 }
 
 #endif /* CONFIG_SMP */
 
 void
-__set_irq_handler(unsigned int irq,
-                 void fastcall (*handle)(unsigned int, irq_desc_t *,
-                                         struct pt_regs *),
-                 int is_chained)
+__set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained)
 {
        struct irq_desc *desc;
        unsigned long flags;
 
 void
 set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip,
-                        void fastcall (*handle)(unsigned int,
-                                                struct irq_desc *,
-                                                struct pt_regs *))
+                        irq_flow_handler_t handle)
 {
        set_irq_chip(irq, chip);
        __set_irq_handler(irq, handle, 0);
  * /proc/interrupts output:
  */
 const char *
-handle_irq_name(void fastcall (*handle)(unsigned int, struct irq_desc *,
-                                       struct pt_regs *))
+handle_irq_name(irq_flow_handler_t handle)
 {
        if (handle == handle_level_irq)
                return "level  ";