linux-sg2042/arch/mips/include/asm/mach-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
..
cs5536 MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
cpu-feature-overrides.h MIPS: Loongson: update cpu-feature-overrides.h 2010-05-21 21:31:14 +01:00
dma-coherence.h MIPS: Loongson: Add basic Loongson 2F support 2009-12-17 01:57:10 +00:00
gpio.h MIPS: Loongson 2F: Add gpio/gpioilb support 2010-05-21 21:31:16 +01:00
loongson.h MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ() 2010-08-05 13:26:24 +01:00
machine.h MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
mc146818rtc.h MIPS: Loongson: Change naming methods 2009-09-17 20:07:47 +02:00
mem.h MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
pci.h MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
war.h MIPS: Loongson: Change naming methods 2009-09-17 20:07:47 +02:00