Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_IRQ_H
0003 #define __ASM_GENERIC_IRQ_H
0004 
0005 /*
0006  * NR_IRQS is the upper bound of how many interrupts can be handled
0007  * in the platform. It is used to size the static irq_map array,
0008  * so don't make it too big.
0009  */
0010 #ifndef NR_IRQS
0011 #define NR_IRQS 64
0012 #endif
0013 
0014 static inline int irq_canonicalize(int irq)
0015 {
0016     return irq;
0017 }
0018 
0019 #endif /* __ASM_GENERIC_IRQ_H */