hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/riscv/include/asm/irq.h
....@@ -1,24 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Regents of the University of California
34 * Copyright (C) 2017 SiFive
4
- *
5
- * This program is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU General Public License
7
- * as published by the Free Software Foundation, version 2.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
135 */
146
157 #ifndef _ASM_RISCV_IRQ_H
168 #define _ASM_RISCV_IRQ_H
179
18
-#define NR_IRQS 0
19
-
20
-void riscv_timer_interrupt(void);
21
-void riscv_software_interrupt(void);
10
+#include <linux/interrupt.h>
11
+#include <linux/linkage.h>
2212
2313 #include <asm-generic/irq.h>
2414