David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 Regents of the University of California |
| 4 | * Copyright (C) 2017 SiFive |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _ASM_RISCV_IRQ_H |
| 8 | #define _ASM_RISCV_IRQ_H |
| 9 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 10 | #include <linux/interrupt.h> |
| 11 | #include <linux/linkage.h> |
| 12 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 */ |