treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / include / asm / irq_32.h
blob43ec2609b8115418d33db0858272585513f7fc6d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* irq.h: IRQ registers on the Sparc.
4 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
5 */
7 #ifndef _SPARC_IRQ_H
8 #define _SPARC_IRQ_H
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
14 #define NR_IRQS 64
16 #include <linux/interrupt.h>
18 #define irq_canonicalize(irq) (irq)
20 void __init init_IRQ(void);
21 void __init sun4d_init_sbi_irq(void);
23 #define NO_IRQ 0xffffffff
25 #endif