Wu Zhangjin de3bc0e7ba MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ()
On FuLoong-2F IP6 is shared by the performance counter overflow interrupt
and the Bonito northbridge interrupt.  To reduce overhead only call
do_IRQ() when oprofile is enabled to reduce overhead.

This patch adds an inline function do_perfcnt_IRQ() to hide the #if's ,
which can be shared by the other Loongson machines, i.e. gdium.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1492/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-08-05 13:26:24 +01:00
..
2010-02-27 12:53:30 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:42 +01:00
2010-02-27 12:53:27 +01:00
2010-02-27 12:53:14 +01:00
2010-08-05 13:26:06 +01:00
2009-12-17 11:03:24 -05:00
2009-12-17 01:57:32 +00:00
2010-02-27 12:53:12 +01:00
2010-01-05 15:34:49 +09:00
2010-04-12 17:26:14 +01:00
2010-04-12 17:26:14 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:27 +01:00
2010-02-27 12:53:27 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:42 +01:00
2010-02-27 12:53:42 +01:00
2010-02-27 12:53:06 +01:00
2010-02-27 12:53:27 +01:00
2010-07-26 19:08:17 +01:00
2010-04-12 17:26:14 +01:00