Import 2.3.18pre1
[davej-history.git] / include / asm-mips / irq.h
blob27edaed87a8c7125f7d5be0f3df26908aed03831
1 /* $Id: irq.h,v 1.4 1998/05/28 03:18:13 ralf Exp $
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle
8 * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle
9 */
10 #ifndef __ASM_MIPS_IRQ_H
11 #define __ASM_MIPS_IRQ_H
13 #define NR_IRQS 64
15 #define TIMER_IRQ 0
17 extern int (*irq_cannonicalize)(int irq);
19 struct irqaction;
20 extern int i8259_setup_irq(int irq, struct irqaction * new);
21 extern void disable_irq(unsigned int);
22 extern void enable_irq(unsigned int);
24 /* Machine specific interrupt initialization */
25 extern void (*irq_setup)(void);
27 #endif /* __ASM_MIPS_IRQ_H */