1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012 Regents of the University of California
4 * Copyright (C) 2017 SiFive
7 #ifndef _ASM_RISCV_IRQ_H
8 #define _ASM_RISCV_IRQ_H
10 #include <linux/interrupt.h>
11 #include <linux/linkage.h>
13 #include <asm-generic/irq.h>
15 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void));
17 struct fwnode_handle *riscv_get_intc_hwnode(void);
19 #endif /* _ASM_RISCV_IRQ_H */