Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 2 | #ifndef __ASM_GENERIC_IRQ_H |
| 3 | #define __ASM_GENERIC_IRQ_H |
| 4 | |
| 5 | /* |
| 6 | * NR_IRQS is the upper bound of how many interrupts can be handled |
| 7 | * in the platform. It is used to size the static irq_map array, |
| 8 | * so don't make it too big. |
| 9 | */ |
| 10 | #ifndef NR_IRQS |
| 11 | #define NR_IRQS 64 |
| 12 | #endif |
| 13 | |
| 14 | static inline int irq_canonicalize(int irq) |
| 15 | { |
| 16 | return irq; |
| 17 | } |
| 18 | |
| 19 | #endif /* __ASM_GENERIC_IRQ_H */ |