xref: /linux/arch/riscv/include/asm/irq.h (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
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 */
21