thermal: fix Mediatek thermal controller build
[linux/fpc-iii.git] / arch / mips / pistachio / irq.c
blob0a6b24c246528180e35c2cf9e41e5d90b9e03b5d
1 /*
2 * Pistachio IRQ setup
4 * Copyright (C) 2014 Google, Inc.
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 */
11 #include <linux/init.h>
12 #include <linux/irqchip.h>
13 #include <linux/irqchip/mips-gic.h>
14 #include <linux/kernel.h>
16 #include <asm/cpu-features.h>
17 #include <asm/irq_cpu.h>
19 void __init arch_init_irq(void)
21 pr_info("EIC is %s\n", cpu_has_veic ? "on" : "off");
22 pr_info("VINT is %s\n", cpu_has_vint ? "on" : "off");
24 if (!cpu_has_veic)
25 mips_cpu_irq_init();
27 irqchip_init();