162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __ASM_GENERIC_IRQ_H 362306a36Sopenharmony_ci#define __ASM_GENERIC_IRQ_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* 662306a36Sopenharmony_ci * NR_IRQS is the upper bound of how many interrupts can be handled 762306a36Sopenharmony_ci * in the platform. It is used to size the static irq_map array, 862306a36Sopenharmony_ci * so don't make it too big. 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci#ifndef NR_IRQS 1162306a36Sopenharmony_ci#define NR_IRQS 64 1262306a36Sopenharmony_ci#endif 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_cistatic inline int irq_canonicalize(int irq) 1562306a36Sopenharmony_ci{ 1662306a36Sopenharmony_ci return irq; 1762306a36Sopenharmony_ci} 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif /* __ASM_GENERIC_IRQ_H */ 20