xref: /linux/arch/sparc/include/asm/irq_32.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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