1 /*
2  * Pistachio IRQ setup
3  *
4  * Copyright (C) 2014 Google, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  */
10 
11 #include <linux/init.h>
12 #include <linux/irqchip.h>
13 #include <linux/irqchip/mips-gic.h>
14 #include <linux/kernel.h>
15 
16 #include <asm/cpu-features.h>
17 #include <asm/irq_cpu.h>
18 
arch_init_irq(void)19 void __init arch_init_irq(void)
20 {
21 	pr_info("EIC is %s\n", cpu_has_veic ? "on" : "off");
22 	pr_info("VINT is %s\n", cpu_has_vint ? "on" : "off");
23 
24 	if (!cpu_has_veic)
25 		mips_cpu_irq_init();
26 
27 	irqchip_init();
28 }
29