xref: /openbmc/linux/arch/riscv/kernel/irq.c (revision addee42a)
1 /*
2  * Copyright (C) 2012 Regents of the University of California
3  * 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.
13  */
14 
15 #include <linux/interrupt.h>
16 #include <linux/irqchip.h>
17 #include <linux/irqdomain.h>
18 
19 #ifdef CONFIG_RISCV_INTC
20 #include <linux/irqchip/irq-riscv-intc.h>
21 #endif
22 
23 void __init init_IRQ(void)
24 {
25 	irqchip_init();
26 }
27