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