mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
9fd2ba4bf1
Fix the following warning: CC arch/mips/ralink/irq-gic.o arch/mips/ralink/irq-gic.c:15:5: warning: no previous prototype for 'get_c0_perfcount_int' [-Wmissing-prototypes] 15 | int get_c0_perfcount_int(void) | ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
25 lines
456 B
C
25 lines
456 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
*
|
|
* Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
|
|
* Copyright (C) 2015 John Crispin <john@phrozen.org>
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/of.h>
|
|
#include <linux/irqchip.h>
|
|
#include <asm/mips-cps.h>
|
|
#include <asm/time.h>
|
|
|
|
int get_c0_perfcount_int(void)
|
|
{
|
|
return gic_get_c0_perfcount_int();
|
|
}
|
|
EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
|
|
|
|
void __init arch_init_irq(void)
|
|
{
|
|
irqchip_init();
|
|
}
|