xref: /openbmc/linux/arch/riscv/include/asm/irq.h (revision 83146efc)
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 #include <asm-generic/irq.h>
14 
15 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void));
16 
17 struct fwnode_handle *riscv_get_intc_hwnode(void);
18 
19 #endif /* _ASM_RISCV_IRQ_H */
20