Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
fb9bd7d6 MZ |
2 | #ifndef __ASM_IRQ_H |
3 | #define __ASM_IRQ_H | |
4 | ||
132cd887 AT |
5 | #ifndef __ASSEMBLER__ |
6 | ||
fb9bd7d6 MZ |
7 | #include <asm-generic/irq.h> |
8 | ||
af2c632e CZ |
9 | struct pt_regs; |
10 | ||
e851b58c | 11 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); |
fb9bd7d6 | 12 | |
b4ff8389 BO |
13 | static inline int nr_legacy_irqs(void) |
14 | { | |
15 | return 0; | |
16 | } | |
17 | ||
132cd887 | 18 | #endif /* !__ASSEMBLER__ */ |
fb9bd7d6 | 19 | #endif |