]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/mips/mti-sead3/sead3-int.c
MIPS: generic: Introduce generic DT-based board support
[karo-tx-linux.git] / arch / mips / mti-sead3 / sead3-int.c
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 2012 MIPS Technologies, Inc.  All rights reserved.
7  */
8 #include <linux/init.h>
9 #include <linux/irqchip.h>
10 #include <linux/irqchip/mips-gic.h>
11
12 #include <asm/cpu-info.h>
13 #include <asm/irq.h>
14
15 void __init arch_init_irq(void)
16 {
17         irqchip_init();
18
19         pr_info("GIC: %spresent\n", (gic_present) ? "" : "not ");
20         pr_info("EIC: %s\n",
21                 (current_cpu_data.options & MIPS_CPU_VEIC) ?  "on" : "off");
22 }
23