Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / mips / pistachio / irq.c
blob437c3101ac450d5d23c6222516fa257c386ba8a0
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Pistachio IRQ setup
5 * Copyright (C) 2014 Google, Inc.
6 */
8 #include <linux/init.h>
9 #include <linux/irqchip.h>
10 #include <linux/kernel.h>
12 #include <asm/cpu-features.h>
13 #include <asm/irq_cpu.h>
15 void __init arch_init_irq(void)
17 pr_info("EIC is %s\n", cpu_has_veic ? "on" : "off");
18 pr_info("VINT is %s\n", cpu_has_vint ? "on" : "off");
20 if (!cpu_has_veic)
21 mips_cpu_irq_init();
23 irqchip_init();