cleanup
[linux-2.4.21-pre4.git] / arch / ppc64 / kernel / local_irq.h
1 /*
2  *      c 2001 PowerPC 64 Team, IBM Corp
3  *
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.
8  */
9 #ifndef _PPC_KERNEL_LOCAL_IRQ_H
10 #define _PPC_KERNEL_LOCAL_IRQ_H
11
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>
17
18 void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
19
20 #define NR_MASK_WORDS   ((NR_IRQS + 63) / 64)
21
22 extern int ppc_spurious_interrupts;
23 extern int ppc_second_irq;
24 extern struct irqaction *ppc_irq_action[NR_IRQS];
25
26 #endif /* _PPC_KERNEL_LOCAL_IRQ_H */