blob: b2b0c6405eb082fea7c99e607e7f2c9d9cca4ee7 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_IRQ_H
3#define __ASM_IRQ_H
4
5#ifndef __ASSEMBLER__
6
7#include <asm-generic/irq.h>
8
9struct pt_regs;
10
11static inline int nr_legacy_irqs(void)
12{
13 return 0;
14}
15
16#endif /* !__ASSEMBLER__ */
17#endif