MIPS: oprofile: Only do performance counter handling for counter interrupts
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 6 Nov 2009 10:45:06 +0000 (18:45 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:10 +0000 (01:57 +0000)
commit937893cf5be53203eabc6f4db29f86b1fdeea203
treef629e3985a8234237c2335cc1e5e06c14a4c763c
parenta3ed495190ebe918f4584291ed8c76f1c97a84fd
MIPS: oprofile: Only do performance counter handling for counter interrupts

In Loongson2f IP6 is shared by bonito and perfcounters so we need to avoid
do_IRQ for perfcounter when the interrupt is from bonito.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_loongson2.c