ovl: factor out ovl_get_index_fh() helper
[linux/fpc-iii.git] / arch / mips / ralink / irq-gic.c
blobbda576f2cad8b7d24069e068d1172439d181b568
1 /*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
6 * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
7 * Copyright (C) 2015 John Crispin <john@phrozen.org>
8 */
10 #include <linux/init.h>
12 #include <linux/of.h>
13 #include <linux/irqchip.h>
14 #include <asm/mips-cps.h>
16 int get_c0_perfcount_int(void)
18 return gic_get_c0_perfcount_int();
20 EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
22 void __init arch_init_irq(void)
24 irqchip_init();