Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  *
0004  * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
0005  * Copyright (C) 2015 John Crispin <john@phrozen.org>
0006  */
0007 
0008 #include <linux/init.h>
0009 
0010 #include <linux/of.h>
0011 #include <linux/irqchip.h>
0012 #include <asm/mips-cps.h>
0013 
0014 int get_c0_perfcount_int(void)
0015 {
0016     return gic_get_c0_perfcount_int();
0017 }
0018 EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
0019 
0020 void __init arch_init_irq(void)
0021 {
0022     irqchip_init();
0023 }