18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_IRQ_H 38c2ecf20Sopenharmony_ci#define __ASM_IRQ_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifndef __ASSEMBLER__ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <asm-generic/irq.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct pt_regs; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_cistatic inline int nr_legacy_irqs(void) 128c2ecf20Sopenharmony_ci{ 138c2ecf20Sopenharmony_ci return 0; 148c2ecf20Sopenharmony_ci} 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif /* !__ASSEMBLER__ */ 178c2ecf20Sopenharmony_ci#endif 18