2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/arch/mips/loongson
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
..
common MIPS: Loongson: Remove set_irq_trigger_mode() 2010-08-05 13:26:23 +01:00
fuloong-2e MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ() 2010-08-05 13:26:24 +01:00
lemote-2f MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ() 2010-08-05 13:26:24 +01:00
Kconfig MIPS: Loongson: Define rtc device on MC146818-equipped systems 2010-07-05 17:17:32 +01:00
Makefile MIPS: Lemote 2F: Add IRQ support 2009-12-17 01:57:13 +00:00
Platform MIPS: Loongson: Migrate makefile to new Platform file 2010-08-05 13:25:45 +01:00