xref: /linux/arch/sparc/include/asm/irq_32.h (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1 /* irq.h: IRQ registers on the Sparc.
2  *
3  * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
4  */
5 
6 #ifndef _SPARC_IRQ_H
7 #define _SPARC_IRQ_H
8 
9 /* Allocated number of logical irq numbers.
10  * sun4d boxes (ss2000e) should be OK with ~32.
11  * Be on the safe side and make room for 64
12  */
13 #define NR_IRQS    64
14 
15 #include <linux/interrupt.h>
16 
17 #define irq_canonicalize(irq)	(irq)
18 
19 void __init init_IRQ(void);
20 void __init sun4d_init_sbi_irq(void);
21 
22 #define NO_IRQ		0xffffffff
23 
24 #endif
25