2 * c 2001 PowerPC 64 Team, IBM Corp
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
9 #ifndef _PPC_KERNEL_LOCAL_IRQ_H
10 #define _PPC_KERNEL_LOCAL_IRQ_H
12 #include <linux/kernel_stat.h>
13 #include <linux/interrupt.h>
14 #include <linux/cache.h>
15 #include <linux/spinlock.h>
16 #include <linux/irq.h>
18 void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
20 #define NR_MASK_WORDS ((NR_IRQS + 63) / 64)
22 extern int ppc_spurious_interrupts;
23 extern int ppc_second_irq;
24 extern struct irqaction *ppc_irq_action[NR_IRQS];
26 #endif /* _PPC_KERNEL_LOCAL_IRQ_H */