b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* | ||||
3 | * Copyright (C) 2012 Regents of the University of California | ||||
4 | * Copyright (C) 2017 SiFive | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef _ASM_RISCV_IRQ_H | ||||
8 | #define _ASM_RISCV_IRQ_H | ||||
9 | |||||
10 | #include <linux/interrupt.h> | ||||
11 | #include <linux/linkage.h> | ||||
12 | |||||
13 | #define NR_IRQS 0 | ||||
14 | |||||
15 | void riscv_timer_interrupt(void); | ||||
16 | void riscv_software_interrupt(void); | ||||
17 | |||||
18 | #include <asm-generic/irq.h> | ||||
19 | |||||
20 | #endif /* _ASM_RISCV_IRQ_H */ |