diff options
Diffstat (limited to 'arch/mips/ralink/irq-gic.c')
-rw-r--r-- | arch/mips/ralink/irq-gic.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/mips/ralink/irq-gic.c b/arch/mips/ralink/irq-gic.c new file mode 100644 index 000000000..3bab51a5f --- /dev/null +++ b/arch/mips/ralink/irq-gic.c | |||
@@ -0,0 +1,23 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
2 | /* | ||
3 | * | ||
4 | * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com> | ||
5 | * Copyright (C) 2015 John Crispin <john@phrozen.org> | ||
6 | */ | ||
7 | |||
8 | #include <linux/init.h> | ||
9 | |||
10 | #include <linux/of.h> | ||
11 | #include <linux/irqchip.h> | ||
12 | #include <asm/mips-cps.h> | ||
13 | |||
14 | int get_c0_perfcount_int(void) | ||
15 | { | ||
16 | return gic_get_c0_perfcount_int(); | ||
17 | } | ||
18 | EXPORT_SYMBOL_GPL(get_c0_perfcount_int); | ||
19 | |||
20 | void __init arch_init_irq(void) | ||
21 | { | ||
22 | irqchip_init(); | ||
23 | } | ||