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/kernel.h> 14 15 #include <asm/cpu-features.h> 16 #include <asm/irq_cpu.h> 17 arch_init_irq(void)18void __init arch_init_irq(void) 19 { 20 pr_info("EIC is %s\n", cpu_has_veic ? "on" : "off"); 21 pr_info("VINT is %s\n", cpu_has_vint ? "on" : "off"); 22 23 if (!cpu_has_veic) 24 mips_cpu_irq_init(); 25 26 irqchip_init(); 27 } 28