From: Wu Zhangjin Date: Sat, 24 Jul 2010 01:22:14 +0000 (+0800) Subject: MIPS: Loongson: Oprofile: add a new do_perfcnt_IRQ() X-Git-Tag: v2.6.36-rc1~563^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de3bc0e7ba5e89d63cb2dbac4e49a5c4b18669b5;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1492/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed