1 #ifndef _M68K_IRQNODE_H_
2 #define _M68K_IRQNODE_H_
4 #include <linux/interrupt.h>
7 * This structure is used to chain together the ISRs for a particular
8 * interrupt source (if it supports chaining).
10 typedef struct irq_node {
11 irqreturn_t (*handler)(int, void *, struct pt_regs *);
15 struct irq_node *next;
19 * This structure has only 4 elements for speed reasons
21 typedef struct irq_handler {
22 irqreturn_t (*handler)(int, void *, struct pt_regs *);
28 /* count of spurious interrupts */
29 extern volatile unsigned int num_spurious;
32 * This function returns a new irq_node_t
34 extern irq_node_t *new_irq_node(void);
36 #endif /* _M68K_IRQNODE_H_ */